Share via


ManifestEmbeddedFileProvider Constructors

Definition

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)

Source:
ManifestEmbeddedFileProvider.cs
Source:
ManifestEmbeddedFileProvider.cs
Source:
ManifestEmbeddedFileProvider.cs

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)

Source:
ManifestEmbeddedFileProvider.cs
Source:
ManifestEmbeddedFileProvider.cs
Source:
ManifestEmbeddedFileProvider.cs

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)

Source:
ManifestEmbeddedFileProvider.cs
Source:
ManifestEmbeddedFileProvider.cs
Source:
ManifestEmbeddedFileProvider.cs

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)

Source:
ManifestEmbeddedFileProvider.cs
Source:
ManifestEmbeddedFileProvider.cs
Source:
ManifestEmbeddedFileProvider.cs

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.

Applies to