C# Класс AvalonPatch.AvalonPatch

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
reader System.Xml.XmlTextReader
tempExtractPath string

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

Метод Описание
AvalonPatch ( ) : System
GetEmbeddedFile ( System assembly, string fileName ) : Stream
GetEmbeddedFile ( Type type, string fileName ) : Stream
GetEmbeddedFile ( string assemblyName, string fileName ) : Stream

Extracts an embedded file out of a given assembly.

checkAndCopy ( string destinationPath ) : void
copyDirectory ( string patchSource, string patchDestination ) : void
exitAndCleanup ( ) : void
extractFile ( Stream inFile, Stream outFile ) : void
fillInfo ( string fileName, patchFile pf ) : void
handlePatch ( string patchName, patchFile pf ) : void
installPatch ( patchFile thePatch ) : void
installThePatches ( ) : void
installZip ( patchFile thePatch ) : void
readPatchControl ( ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Метод Описание
AvalonPatch_FormClosing ( object sender, FormClosingEventArgs e ) : void
AvalonPatch_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

btExit_Click ( object sender, EventArgs e ) : void
btInstallPatch_Click ( object sender, EventArgs e ) : void
checkRunningProcess ( ) : bool
clearCacheDir ( ) : void
fileSize ( string fileToCheck ) : long
fileVersion ( string fileToCheck ) : string

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

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

public AvalonPatch ( ) : System
Результат System

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

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

public static GetEmbeddedFile ( System assembly, string fileName ) : Stream
assembly System
fileName string
Результат Stream

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

public static GetEmbeddedFile ( Type type, string fileName ) : Stream
type System.Type
fileName string
Результат Stream

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

Extracts an embedded file out of a given assembly.
public static GetEmbeddedFile ( string assemblyName, string fileName ) : Stream
assemblyName string The namespace of you assembly.
fileName string The name of the file to extract.
Результат Stream

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

public checkAndCopy ( string destinationPath ) : void
destinationPath string
Результат void

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

public copyDirectory ( string patchSource, string patchDestination ) : void
patchSource string
patchDestination string
Результат void

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

public exitAndCleanup ( ) : void
Результат void

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

public extractFile ( Stream inFile, Stream outFile ) : void
inFile Stream
outFile Stream
Результат void

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

public fillInfo ( string fileName, patchFile pf ) : void
fileName string
pf patchFile
Результат void

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

public handlePatch ( string patchName, patchFile pf ) : void
patchName string
pf patchFile
Результат void

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

public installPatch ( patchFile thePatch ) : void
thePatch patchFile
Результат void

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

public installThePatches ( ) : void
Результат void

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

public installZip ( patchFile thePatch ) : void
thePatch patchFile
Результат void

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

public readPatchControl ( ) : void
Результат void

Описание свойств

reader публичное свойство

public XmlTextReader,System.Xml reader
Результат System.Xml.XmlTextReader

tempExtractPath публичное свойство

public string tempExtractPath
Результат string