C# Класс TUP.AsmResolver.Win32Assembly

Reprensents a Win32 Assembly.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
OnReadingFinished ( ReadingFinishedEventArgs e ) : void
OnReadingProcessChanged ( ReadingProcessChangedEventArgs e ) : void
RaiseReadingFinished ( object e ) : void
RaiseReadingProcessChanged ( object e ) : void
Win32Assembly ( ) : System

Описание методов

Dispose() публичный Метод

Closes streams and cleans up the Win32Assembly.
public Dispose ( ) : void
Результат void

LoadFile() публичный статический Метод

Loads an assembly from a specific file.
public static LoadFile ( string file ) : Win32Assembly
file string The file to read.
Результат Win32Assembly

LoadFile() публичный статический Метод

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.
Результат Win32Assembly

QuickSave() публичный Метод

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
Результат void

QuickSave() публичный Метод

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.
Результат void

Rebuild() публичный Метод

Rebuilds the assembly and writes it to the specified stream.
public Rebuild ( Stream outputStream, WritingParameters writingParameters ) : void
outputStream Stream
writingParameters WritingParameters
Результат void

Rebuild() публичный Метод

Rebuilds the assembly and saves it to the specified file path.
public Rebuild ( string path, WritingParameters writingParameters ) : void
path string
writingParameters WritingParameters
Результат void