Constructor ReferencedAssemblyProvider
ReferencedAssemblyProvider(Assembly, AssemblyLoadContext)
Initialises a new ReferencedAssemblyProvider instance with a
given reference Assembly instance.
Declaration
public ReferencedAssemblyProvider(Assembly referencingAssembly, AssemblyLoadContext assemblyLoadContext = null)
Parameters
Type | Name | Description |
---|---|---|
Assembly | referencingAssembly | The Assembly instance whose referened assemblies are being provided. |
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.
|
ReferencedAssemblyProvider(Type, AssemblyLoadContext)
Initialises a new ReferencedAssemblyProvider instance with a
given type whose defining Assembly instance is used as the reference.
Declaration
public ReferencedAssemblyProvider(Type referencingType, AssemblyLoadContext assemblyLoadContext = null)
Parameters
Type | Name | Description |
---|---|---|
Type | referencingType | The Type instance whose defining Assembly instance's referenced assemblies are being provided. |
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.
|