LoadContextIntoDefaultLoad Method |
Allows an assembly to be resolved and loaded based on its
AssemblyName.
Here, we first look into the current application domain, and if an assembly with the same name is already loaded,
we return this assembly. Otherwise, we try to resolve the assembly name, and then load the assembly into
the Default (!) context (and not in the context represented by this instance).
Namespace: Altaxo.AddInItemsAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxprotected override Assembly? Load(
AssemblyName assemblyName
)
Parameters
- assemblyName AssemblyName
- The object that describes the assembly to be loaded.
Return Value
Assembly
The loaded assembly, or
.
See Also