C# Класс FluentBuild.Runners.Zip.ZipCompress

Compresses a file or folder
Наследование: FluentBuild.Utilities.InternalExecutable, IZipCompress
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SourceFile ( FluentFs file ) : ZipCompress

Sets ZipCompress to compress a single file

SourceFile ( string file ) : ZipCompress

Sets ZipCompress to compress a single file

SourceFolder ( FluentFs path ) : ZipCompress

Sets ZipCompress to compress an entire folder

SourceFolder ( string path ) : ZipCompress

Sets ZipCompress to compress an entire folder

To ( string zipFilePath ) : ZipCompress

The location to place the output

To ( FluentFs zipFilePath ) : void

The location to place the output

UsingPassword ( string password ) : ZipCompress

Sets the password to protect the zip file with

ZipCompress ( ) : System

Приватные методы

Метод Описание
GetFiles ( ) : IList
InternalExecute ( ) : void
ZipCompress ( IFileSystemHelper fileSystemHelper ) : System

Описание методов

SourceFile() публичный Метод

Sets ZipCompress to compress a single file
public SourceFile ( FluentFs file ) : ZipCompress
file FluentFs The file to compress
Результат ZipCompress

SourceFile() публичный Метод

Sets ZipCompress to compress a single file
public SourceFile ( string file ) : ZipCompress
file string The file to compress
Результат ZipCompress

SourceFolder() публичный Метод

Sets ZipCompress to compress an entire folder
public SourceFolder ( FluentFs path ) : ZipCompress
path FluentFs The folder to compress
Результат ZipCompress

SourceFolder() публичный Метод

Sets ZipCompress to compress an entire folder
public SourceFolder ( string path ) : ZipCompress
path string The folder to compress
Результат ZipCompress

To() публичный Метод

The location to place the output
public To ( string zipFilePath ) : ZipCompress
zipFilePath string path to the output file
Результат ZipCompress

To() публичный Метод

The location to place the output
public To ( FluentFs zipFilePath ) : void
zipFilePath FluentFs path to the output file
Результат void

UsingPassword() публичный Метод

Sets the password to protect the zip file with
public UsingPassword ( string password ) : ZipCompress
password string The password to use
Результат ZipCompress

ZipCompress() публичный Метод

public ZipCompress ( ) : System
Результат System