C# Class Galen.Ci.EntityFramework.Utilities.ZipUtility

Datei anzeigen Open project: GalenHealthcare/Galen.Ef.Deployer

Public Properties

Property Type Description
DefaultHashName string

Public Methods

Method Description
Unzip ( string targetDirectoryPath, ZipArchive archive ) : void
ZipRecursive ( string rootDirectoryPath, DirectoryInfo currentDirectoryInfo, ZipArchive archive, TextWriter hashWriter, string hashName = ConstDefaultHashName ) : void

Private Methods

Method Description
AddToArchive ( string entryName, Stream inputStream, ZipArchive zipArchive, string hashName ) : string
NormalizePath ( string filePath ) : string

Method Details

Unzip() public static method

public static Unzip ( string targetDirectoryPath, ZipArchive archive ) : void
targetDirectoryPath string
archive System.IO.Compression.ZipArchive
return void

ZipRecursive() public static method

public static ZipRecursive ( string rootDirectoryPath, DirectoryInfo currentDirectoryInfo, ZipArchive archive, TextWriter hashWriter, string hashName = ConstDefaultHashName ) : void
rootDirectoryPath string
currentDirectoryInfo System.IO.DirectoryInfo
archive System.IO.Compression.ZipArchive
hashWriter System.IO.TextWriter
hashName string
return void

Property Details

DefaultHashName public_oe static_oe property

public static string DefaultHashName
return string