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

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetDirectoryContents(String)

Enumerate a directory at the given path, if any.

GetFileInfo(String)

Locates a file at the given path.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Watch(String)

Creates a IChangeToken for the specified pattern.

Applies to