ManifestEmbeddedFileProvider Constructors
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.
Overloads
ManifestEmbeddedFileProvider(Assembly) |
Initializes a new instance of ManifestEmbeddedFileProvider. |
ManifestEmbeddedFileProvider(Assembly, String) |
Initializes a new instance of ManifestEmbeddedFileProvider. |
ManifestEmbeddedFileProvider(Assembly, String, DateTimeOffset) |
Initializes a new instance of ManifestEmbeddedFileProvider. |
ManifestEmbeddedFileProvider(Assembly, String, String, DateTimeOffset) |
Initializes a new instance of ManifestEmbeddedFileProvider. |
ManifestEmbeddedFileProvider(Assembly)
Initializes a new instance of ManifestEmbeddedFileProvider.
public:
ManifestEmbeddedFileProvider(System::Reflection::Assembly ^ assembly);
public ManifestEmbeddedFileProvider (System.Reflection.Assembly assembly);
new Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider : System.Reflection.Assembly -> Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider
Public Sub New (assembly As Assembly)
Parameters
- assembly
- Assembly
The assembly containing the embedded files.
Applies to
ManifestEmbeddedFileProvider(Assembly, String)
Initializes a new instance of ManifestEmbeddedFileProvider.
public:
ManifestEmbeddedFileProvider(System::Reflection::Assembly ^ assembly, System::String ^ root);
public ManifestEmbeddedFileProvider (System.Reflection.Assembly assembly, string root);
new Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider : System.Reflection.Assembly * string -> Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider
Public Sub New (assembly As Assembly, root As String)
Parameters
- assembly
- Assembly
The assembly containing the embedded files.
- root
- String
The relative path from the root of the manifest to use as root for the provider.
Applies to
ManifestEmbeddedFileProvider(Assembly, String, DateTimeOffset)
Initializes a new instance of ManifestEmbeddedFileProvider.
public:
ManifestEmbeddedFileProvider(System::Reflection::Assembly ^ assembly, System::String ^ root, DateTimeOffset lastModified);
public ManifestEmbeddedFileProvider (System.Reflection.Assembly assembly, string root, DateTimeOffset lastModified);
new Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider : System.Reflection.Assembly * string * DateTimeOffset -> Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider
Public Sub New (assembly As Assembly, root As String, lastModified As DateTimeOffset)
Parameters
- assembly
- Assembly
The assembly containing the embedded files.
- root
- String
The relative path from the root of the manifest to use as root for the provider.
- lastModified
- DateTimeOffset
The LastModified date to use on the IFileInfo instances returned by this IFileProvider.
Applies to
ManifestEmbeddedFileProvider(Assembly, String, String, DateTimeOffset)
Initializes a new instance of ManifestEmbeddedFileProvider.
public:
ManifestEmbeddedFileProvider(System::Reflection::Assembly ^ assembly, System::String ^ root, System::String ^ manifestName, DateTimeOffset lastModified);
public ManifestEmbeddedFileProvider (System.Reflection.Assembly assembly, string root, string manifestName, DateTimeOffset lastModified);
new Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider : System.Reflection.Assembly * string * string * DateTimeOffset -> Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider
Public Sub New (assembly As Assembly, root As String, manifestName As String, lastModified As DateTimeOffset)
Parameters
- assembly
- Assembly
The assembly containing the embedded files.
- root
- String
The relative path from the root of the manifest to use as root for the provider.
- manifestName
- String
The name of the embedded resource containing the manifest.
- lastModified
- DateTimeOffset
The LastModified date to use on the IFileInfo instances returned by this IFileProvider.