C# Class MetroLog.ZipFile

Mostra file Open project: onovotny/MetroLog

Public Methods

Method Description
CreateFromDirectory ( IStorageFolder source, Stream destinationArchive ) : System.Threading.Tasks.Task
Open ( Stream archive, ZipArchiveMode mode, Encoding entryNameEncoding = null ) : ZipArchive
OpenRead ( Stream archive ) : ZipArchive

Private Methods

Method Description
DoCreateEntryFromFile ( ZipArchive destination, IStorageFile sourceFile, string entryName, CompressionLevel compressionLevel ) : Task
DoCreateFromDirectory ( IStorageFolder source, Stream destinationArchive, CompressionLevel compressionLevel, Encoding entryNameEncoding ) : System.Threading.Tasks.Task
GetStorageItemsRecursive ( this parent ) : Task>
IsDirEmpty ( IStorageFolder possiblyEmptyDir ) : Task

Method Details

CreateFromDirectory() public static method

public static CreateFromDirectory ( IStorageFolder source, Stream destinationArchive ) : System.Threading.Tasks.Task
source IStorageFolder
destinationArchive Stream
return System.Threading.Tasks.Task

Open() public static method

public static Open ( Stream archive, ZipArchiveMode mode, Encoding entryNameEncoding = null ) : ZipArchive
archive Stream
mode ZipArchiveMode
entryNameEncoding System.Text.Encoding
return System.IO.Compression.ZipArchive

OpenRead() public static method

public static OpenRead ( Stream archive ) : ZipArchive
archive Stream
return System.IO.Compression.ZipArchive