C# Class LSLib.LS.Packager

Mostra file Open project: Norbyte/lslib Class Usage Examples

Public Properties

Property Type Description
progressUpdate ProgressUpdateDelegate

Public Methods

Method Description
CreatePackage ( string packagePath, string inputPath, uint version = Package.CurrentVersion, CompressionMethod compression = CompressionMethod.None, bool fastCompression = true ) : void
EnumerateFiles ( Package package, string rootPath, string currentPath ) : void
UncompressPackage ( string packagePath, string outputPath ) : void

Private Methods

Method Description
WriteProgressUpdate ( FileInfo file, long numerator, long denominator ) : void

Method Details

CreatePackage() public method

public CreatePackage ( string packagePath, string inputPath, uint version = Package.CurrentVersion, CompressionMethod compression = CompressionMethod.None, bool fastCompression = true ) : void
packagePath string
inputPath string
version uint
compression CompressionMethod
fastCompression bool
return void

EnumerateFiles() public method

public EnumerateFiles ( Package package, string rootPath, string currentPath ) : void
package Package
rootPath string
currentPath string
return void

UncompressPackage() public method

public UncompressPackage ( string packagePath, string outputPath ) : void
packagePath string
outputPath string
return void

Property Details

progressUpdate public_oe property

public ProgressUpdateDelegate progressUpdate
return ProgressUpdateDelegate