Interface IAssemblyLoadContext
AssemblyLoadContext interface
Namespace: AssemblyLoaderTypes
Assembly: AssemblyLoaderTypes.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("54149C13-D5BD-4FB4-83FD-092592AC0F68")]
public interface IAssemblyLoadContext
Methods
Load()
Loads the contents of an assembly file on the specified path.
Declaration
IAssemblyWrapper Load()
Returns
| Type | Description |
|---|---|
| IAssemblyWrapper |
LoadFromStream(IStream)
Loads the assembly with a common object file format (COFF)-based image containing a managed assembly.
Declaration
IAssemblyWrapper LoadFromStream(IStream assembly)
Parameters
| Type | Name | Description |
|---|---|---|
| IStream | assembly |
Returns
| Type | Description |
|---|---|
| IAssemblyWrapper |
Unload()
Initiates an unload of this AssemblyLoadContext
Declaration
void Unload()