Constructor CompileLibrariesAssemblyProvider
CompileLibrariesAssemblyProvider(IEnumerable<CompilationLibrary>, AssemblyLoadContext)
Initialises a new CompileLibrariesAssemblyProvider instance
with a given collection of Microsoft.Extensions.DependencyModel.CompilationLibrary
instances.
Declaration
public CompileLibrariesAssemblyProvider(IEnumerable<CompilationLibrary> compilationLibraries, AssemblyLoadContext assemblyLoadContext = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.CompilationLibrary> | compilationLibraries | The collection of Microsoft.Extensions.DependencyModel.CompilationLibrary instances to initialise the provider with. |
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.
|