EmbeddedFileProvider EmbeddedFileProvider Constructors

Definition

Overloads

EmbeddedFileProvider(Assembly) 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) EmbeddedFileProvider(Assembly, String)

Initializes a new instance of the EmbeddedFileProvider class using the specified assembly and base namespace.

EmbeddedFileProvider(Assembly) EmbeddedFileProvider(Assembly)

Initializes a new instance of the EmbeddedFileProvider class using the specified assembly with the base namespace defaulting to the assembly name.

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

Parameters

assembly
Assembly Assembly

The assembly that contains the embedded resources.

EmbeddedFileProvider(Assembly, String) EmbeddedFileProvider(Assembly, String)

Initializes a new instance of the EmbeddedFileProvider class using the specified assembly and base namespace.

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

Parameters

assembly
Assembly Assembly

The assembly that contains the embedded resources.

baseNamespace
String String

The base namespace that contains the embedded resources.

Applies to