EmbeddedFileProvider Class
Definition
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 embedded resources in the specified assembly. This file provider is case sensitive.
public ref class EmbeddedFileProvider : Microsoft::Extensions::FileProviders::IFileProvider
public class EmbeddedFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
type EmbeddedFileProvider = class
interface IFileProvider
Public Class EmbeddedFileProvider
Implements IFileProvider
- Inheritance
-
EmbeddedFileProvider
- Implements
Constructors
EmbeddedFileProvider(Assembly, String) |
Initializes a new instance of the EmbeddedFileProvider class using the specified assembly and base namespace. |
EmbeddedFileProvider(Assembly) |
Initializes a new instance of the EmbeddedFileProvider class using the specified assembly with the base namespace defaulting to the assembly name. |
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. 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. |
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) |
Embedded files do not change. |