C# Class Sage.Extensibility.ExtensionFile

Represents an extension file.
Exibir arquivo Open project: igorfrance/sage Class Usage Examples

Public Methods

Method Description
ExtensionFile ( string installPath, ZipEntry file, string crcCode ) : System.IO

Initializes a new instance of the ExtensionFile class.

Extract ( ZipFile extensionArchive, string targetPath ) : void
Read ( ZipFile extensionArchive ) : byte[]

Method Details

ExtensionFile() public method

Initializes a new instance of the ExtensionFile class.
public ExtensionFile ( string installPath, ZipEntry file, string crcCode ) : System.IO
installPath string The path where this file is installed.
file ICSharpCode.SharpZipLib.Zip.ZipEntry The file.
crcCode string The CRC code of the file.
return System.IO

Extract() public method

public Extract ( ZipFile extensionArchive, string targetPath ) : void
extensionArchive ICSharpCode.SharpZipLib.Zip.ZipFile
targetPath string
return void

Read() public method

public Read ( ZipFile extensionArchive ) : byte[]
extensionArchive ICSharpCode.SharpZipLib.Zip.ZipFile
return byte[]