C# Class TUP.AsmResolver.Win32Assembly

Reprensents a Win32 Assembly.
Inheritance: IDisposable
Datei anzeigen Open project: Rex-Hays/GNIDA Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Closes streams and cleans up the Win32Assembly.

LoadFile ( string file ) : Win32Assembly

Loads an assembly from a specific file.

LoadFile ( string file, ReadingParameters arguments ) : Win32Assembly

Loads an assembly from a specific file using the specific reading parameters.

QuickSave ( Stream outputStream ) : void

Saves the assembly's image to the specified output stream. Added or removed Members might not be saved.

QuickSave ( string path ) : void

Saves the assembly's image to the harddisk to a specific path. Added or removed Members might not be saved.

Rebuild ( Stream outputStream, WritingParameters writingParameters ) : void

Rebuilds the assembly and writes it to the specified stream.

Rebuild ( string path, WritingParameters writingParameters ) : void

Rebuilds the assembly and saves it to the specified file path.

Private Methods

Method Description
OnReadingFinished ( ReadingFinishedEventArgs e ) : void
OnReadingProcessChanged ( ReadingProcessChangedEventArgs e ) : void
RaiseReadingFinished ( object e ) : void
RaiseReadingProcessChanged ( object e ) : void
Win32Assembly ( ) : System

Method Details

Dispose() public method

Closes streams and cleans up the Win32Assembly.
public Dispose ( ) : void
return void

LoadFile() public static method

Loads an assembly from a specific file.
public static LoadFile ( string file ) : Win32Assembly
file string The file to read.
return Win32Assembly

LoadFile() public static method

Loads an assembly from a specific file using the specific reading parameters.
public static LoadFile ( string file, ReadingParameters arguments ) : Win32Assembly
file string The file to read.
arguments ReadingParameters The reading parameters to use.
return Win32Assembly

QuickSave() public method

Saves the assembly's image to the specified output stream. Added or removed Members might not be saved.
public QuickSave ( Stream outputStream ) : void
outputStream Stream
return void

QuickSave() public method

Saves the assembly's image to the harddisk to a specific path. Added or removed Members might not be saved.
public QuickSave ( string path ) : void
path string The path to save the assembly.
return void

Rebuild() public method

Rebuilds the assembly and writes it to the specified stream.
public Rebuild ( Stream outputStream, WritingParameters writingParameters ) : void
outputStream Stream
writingParameters WritingParameters
return void

Rebuild() public method

Rebuilds the assembly and saves it to the specified file path.
public Rebuild ( string path, WritingParameters writingParameters ) : void
path string
writingParameters WritingParameters
return void