C# Class AvalonPatch.AvalonPatch

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: ncoH/Avalon

Méthodes publiques

Свойство Type Description
reader System.Xml.XmlTextReader
tempExtractPath string

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
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

Method Details

AvalonPatch() public méthode

public AvalonPatch ( ) : System
Résultat System

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GetEmbeddedFile() public static méthode

public static GetEmbeddedFile ( System assembly, string fileName ) : Stream
assembly System
fileName string
Résultat Stream

GetEmbeddedFile() public static méthode

public static GetEmbeddedFile ( Type type, string fileName ) : Stream
type System.Type
fileName string
Résultat Stream

GetEmbeddedFile() public static méthode

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.
Résultat Stream

checkAndCopy() public méthode

public checkAndCopy ( string destinationPath ) : void
destinationPath string
Résultat void

copyDirectory() public méthode

public copyDirectory ( string patchSource, string patchDestination ) : void
patchSource string
patchDestination string
Résultat void

exitAndCleanup() public méthode

public exitAndCleanup ( ) : void
Résultat void

extractFile() public méthode

public extractFile ( Stream inFile, Stream outFile ) : void
inFile Stream
outFile Stream
Résultat void

fillInfo() public méthode

public fillInfo ( string fileName, patchFile pf ) : void
fileName string
pf patchFile
Résultat void

handlePatch() public méthode

public handlePatch ( string patchName, patchFile pf ) : void
patchName string
pf patchFile
Résultat void

installPatch() public méthode

public installPatch ( patchFile thePatch ) : void
thePatch patchFile
Résultat void

installThePatches() public méthode

public installThePatches ( ) : void
Résultat void

installZip() public méthode

public installZip ( patchFile thePatch ) : void
thePatch patchFile
Résultat void

readPatchControl() public méthode

public readPatchControl ( ) : void
Résultat void

Property Details

reader public_oe property

public XmlTextReader,System.Xml reader
Résultat System.Xml.XmlTextReader

tempExtractPath public_oe property

public string tempExtractPath
Résultat string