C# Class LinFu.Reflection.Emit.AssemblyDefinitionExtensions

A class that adds extension methods to the AssemblyDefinition class.
显示文件 Open project: philiplaureano/LinFu

Public Methods

Method Description
Save ( this definition, Stream outputStream ) : void

Saves the assembly to disk.

Save ( this definition, string filename ) : void

Saves the assembly to disk.

ToAssembly ( this definition ) : Assembly

Converts an AssemblyDefinition into a running Assembly.

Method Details

Save() public static method

Saves the assembly to disk.
public static Save ( this definition, Stream outputStream ) : void
definition this The target assembly definition.
outputStream System.IO.Stream The destination file stream.
return void

Save() public static method

Saves the assembly to disk.
public static Save ( this definition, string filename ) : void
definition this The target assembly definition.
filename string The output file name.
return void

ToAssembly() public static method

Converts an AssemblyDefinition into a running Assembly.
public static ToAssembly ( this definition ) : Assembly
definition this The to convert.
return System.Reflection.Assembly