Show / Hide Table of Contents

Class ModuleLoadingProviderExtensions

Provides a set of extension methods for IModuleLoadingProvider.

Inheritance
System.Object
ModuleLoadingProviderExtensions
Namespace: System.Reflection
Assembly: Nuqleon.Reflection.Virtualization.dll
Syntax
public static class ModuleLoadingProviderExtensions : Object

Methods

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

Loads the module, internal to this assembly, with a common object file format (COFF)-based image containing an emitted module, or a resource file.

Declaration
public static Module LoadModule(this IModuleLoadingProvider provider, Assembly assembly, string moduleName, byte[] rawModule)
Parameters
Type Name Description
IModuleLoadingProvider provider

The reflection provider.

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.

Returns
Type Description
System.Reflection.Module

The loaded module.

In This Article
Back to top Generated by DocFX