ManifestEmbeddedFileProvider ManifestEmbeddedFileProvider Constructors

Definition

Overloads

ManifestEmbeddedFileProvider(Assembly) ManifestEmbeddedFileProvider(Assembly)

Initializes a new instance of ManifestEmbeddedFileProvider.

ManifestEmbeddedFileProvider(Assembly, String) ManifestEmbeddedFileProvider(Assembly, String)

Initializes a new instance of ManifestEmbeddedFileProvider.

ManifestEmbeddedFileProvider(Assembly, String, DateTimeOffset) ManifestEmbeddedFileProvider(Assembly, String, DateTimeOffset)

Initializes a new instance of ManifestEmbeddedFileProvider.

ManifestEmbeddedFileProvider(Assembly, String, String, DateTimeOffset) ManifestEmbeddedFileProvider(Assembly, String, String, DateTimeOffset)

Initializes a new instance of ManifestEmbeddedFileProvider.

ManifestEmbeddedFileProvider(Assembly) ManifestEmbeddedFileProvider(Assembly)

Initializes a new instance of ManifestEmbeddedFileProvider.

public ManifestEmbeddedFileProvider (System.Reflection.Assembly assembly);
new Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider : System.Reflection.Assembly -> Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider

Parameters

assembly
Assembly Assembly

The assembly containing the embedded files.

ManifestEmbeddedFileProvider(Assembly, String) ManifestEmbeddedFileProvider(Assembly, String)

Initializes a new instance of ManifestEmbeddedFileProvider.

public ManifestEmbeddedFileProvider (System.Reflection.Assembly assembly, string root);
new Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider : System.Reflection.Assembly * string -> Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider

Parameters

assembly
Assembly Assembly

The assembly containing the embedded files.

root
String String

The relative path from the root of the manifest to use as root for the provider.

ManifestEmbeddedFileProvider(Assembly, String, DateTimeOffset) ManifestEmbeddedFileProvider(Assembly, String, DateTimeOffset)

Initializes a new instance of ManifestEmbeddedFileProvider.

public ManifestEmbeddedFileProvider (System.Reflection.Assembly assembly, string root, DateTimeOffset lastModified);
new Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider : System.Reflection.Assembly * string * DateTimeOffset -> Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider

Parameters

assembly
Assembly Assembly

The assembly containing the embedded files.

root
String String

The relative path from the root of the manifest to use as root for the provider.

lastModified
DateTimeOffset DateTimeOffset

The LastModified date to use on the IFileInfo instances returned by this IFileProvider.

ManifestEmbeddedFileProvider(Assembly, String, String, DateTimeOffset) ManifestEmbeddedFileProvider(Assembly, String, String, DateTimeOffset)

Initializes a new instance of ManifestEmbeddedFileProvider.

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

Parameters

assembly
Assembly Assembly

The assembly containing the embedded files.

root
String String

The relative path from the root of the manifest to use as root for the provider.

manifestName
String String

The name of the embedded resource containing the manifest.

lastModified
DateTimeOffset DateTimeOffset

The LastModified date to use on the IFileInfo instances returned by this IFileProvider.

Applies to