Dela via


CompositeFileProvider Class

Definition

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

CompositeFileProvider(IEnumerable<IFileProvider>)

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

CompositeFileProvider(IFileProvider[])

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

Properties

FileProviders

Gets the list of configured IFileProvider instances.

Methods

GetDirectoryContents(String)

Enumerate 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