Show / Hide Table of Contents

Interface IModuleLoadingProvider

Interface representing a reflection provider used to load System.Reflection.Assembly objects.

Namespace: System.Reflection
Assembly: Nuqleon.Reflection.Virtualization.dll
Syntax
public interface IModuleLoadingProvider

Methods

LoadModule(Assembly, String, Byte[], Byte[])

Loads the module, internal to the specified assembly, with a common object file format (COFF)-based image containing an emitted module, or a resource file. The raw bytes representing the symbols for the module are also loaded.

Declaration
Module LoadModule(Assembly assembly, string moduleName, byte[] rawModule, byte[] rawSymbolStore)
Parameters
Type Name Description
System.Reflection.Assembly assembly

The assembly to load the module into.

System.String moduleName

The name of the module. This string must correspond to a file name in this assembly's manifest.

System.Byte[] rawModule

A byte array that is a COFF-based image containing an emitted module, or a resource.

System.Byte[] rawSymbolStore

A byte array containing the raw bytes representing the symbols for the module. Must be null if this is a resource file.

Returns
Type Description
System.Reflection.Module

The loaded module.

Extension Methods

ModuleLoadingProviderExtensions.LoadModule(IModuleLoadingProvider, Assembly, String, Byte[])
In This Article
Back to top Generated by DocFX