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) |
Initializes a new instance of the EmbeddedFileProvider class using the specified assembly with the base namespace defaulting to the assembly name. |
EmbeddedFileProvider(Assembly, String) |
Initializes a new instance of the EmbeddedFileProvider class using the specified assembly and base namespace. |
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. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om