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