Interface IAssemblyLoader
Assembly: AssemblyLoaderTypes.dll
Syntax
[Guid("8D1C5D7D-5BD2-4187-B575-DABC8F759810")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IAssemblyLoader
Methods
CreateLoadContext(string)
Represents the runtime's concept of a scope for assembly loading.
Declaration
IAssemblyLoadContext CreateLoadContext(string assemblyFile)
Parameters
| Type |
Name |
Description |
| string |
assemblyFile |
|
Returns
Load(string)
Loads an assembly given its file name or path.
Declaration
IAssemblyWrapper Load(string assemblyFile)
Parameters
| Type |
Name |
Description |
| string |
assemblyFile |
|
Returns
LoadFromStream(IStream)
Loads the assembly with a common object file format (COFF)-based image containing an emitted assembly.
The assembly is loaded into the application domain of the caller.
Declaration
IAssemblyWrapper LoadFromStream(IStream assembly)
Parameters
| Type |
Name |
Description |
| IStream |
assembly |
|
Returns