EmbeddedFileProvider 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
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. |
EmbeddedFileProvider(Assembly)
- Source:
- EmbeddedFileProvider.cs
- Source:
- EmbeddedFileProvider.cs
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);
public EmbeddedFileProvider (System.Reflection.Assembly assembly);
new Microsoft.Extensions.FileProviders.EmbeddedFileProvider : System.Reflection.Assembly -> Microsoft.Extensions.FileProviders.EmbeddedFileProvider
Public Sub New (assembly As Assembly)
Parameters
- assembly
- Assembly
The assembly that contains the embedded resources.
Applies to
EmbeddedFileProvider(Assembly, String)
- Source:
- EmbeddedFileProvider.cs
- Source:
- EmbeddedFileProvider.cs
Initializes a new instance of the EmbeddedFileProvider class using the specified assembly and base namespace.
public:
EmbeddedFileProvider(System::Reflection::Assembly ^ assembly, System::String ^ baseNamespace);
public EmbeddedFileProvider (System.Reflection.Assembly assembly, string? baseNamespace);
new Microsoft.Extensions.FileProviders.EmbeddedFileProvider : System.Reflection.Assembly * string -> Microsoft.Extensions.FileProviders.EmbeddedFileProvider
Public Sub New (assembly As Assembly, baseNamespace As String)
Parameters
- assembly
- Assembly
The assembly that contains the embedded resources.
- baseNamespace
- String
The base namespace that contains the embedded resources.