Constructor FileAssemblyProvider
FileAssemblyProvider(IFileProvider, AssemblyLoadContext)
Initialises a new FileAssemblyProvider instance with a given Microsoft.Extensions.FileProviders.IFileProvider
instance.
Declaration
public FileAssemblyProvider(IFileProvider fileProvider, AssemblyLoadContext assemblyLoadContext = null)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.FileProviders.IFileProvider | fileProvider | The Microsoft.Extensions.FileProviders.IFileProvider instance used to find matching class libraries. |
System.Runtime.Loader.AssemblyLoadContext | assemblyLoadContext |
The System.Runtime.Loader.AssemblyLoadContext used to load assemblies. If not provided
or null , the System.Runtime.Loader.AssemblyLoadContext.Default context instance
is used instead.
|