Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CompositeFileProvider Class

Definition

Namespace:
Microsoft.Extensions.FileProviders
Assembly:
Microsoft.Extensions.FileProviders.Composite.dll
Package:
Microsoft.Extensions.FileProviders.Composite v11.0.0-preview.5.26302.115
Source:
CompositeFileProvider.cs
Source:
CompositeFileProvider.cs
Source:
CompositeFileProvider.cs
Source:
CompositeFileProvider.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Looks up files using a collection of IFileProvider.

public ref class CompositeFileProvider : Microsoft::Extensions::FileProviders::IFileProvider
public class CompositeFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
type CompositeFileProvider = class
 interface IFileProvider
Public Class CompositeFileProvider
Implements IFileProvider
Inheritance
CompositeFileProvider
Implements

Constructors

Name Description
CompositeFileProvider(IEnumerable<IFileProvider>)

Initializes a new instance of the CompositeFileProvider class using a collection of file provider objects.

CompositeFileProvider(IFileProvider[])

Initializes a new instance of the CompositeFileProvider class using a collection of file provider objects.

Properties

Name Description
FileProviders

Gets the list of configured IFileProvider instances.

Methods

Name Description
GetDirectoryContents(String)

Enumerates a directory at the given path, if any.

GetFileInfo(String)

Locates a file at the given path.

Watch(String)

Creates a IChangeToken for the specified pattern.

Applies to


Feedback

Was this page helpful?