EmbeddedFileProvider Class

Definition

Looks up files using embedded resources in the specified assembly. This file provider is case sensitive.

public class EmbeddedFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
Inheritance
EmbeddedFileProvider
Implements

Constructors

EmbeddedFileProvider(Assembly)

Initializes a new instance of the EmbeddedFileProvider class using the specified assembly and empty base namespace.

EmbeddedFileProvider(Assembly, String)

Initializes a new instance of the EmbeddedFileProvider class using the specified assembly and base namespace.

Methods

GetDirectoryContents(String)

Enumerate a directory at the given path, if any. This file provider uses a flat directory structure. Everything under the base namespace is considered to be one directory.

GetFileInfo(String)

Locates a file at the given path.

Watch(String)

Embedded files do not change.