C# Класс Scorchio.Infrastructure.Services.ZipperService

Defines the ZipperService type.
Наследование: IZipperService
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BuildZipFile ( string updatesDirectory, string folderName, ZipArchive zipArchive, ZipArchiveEntry zipArchiveEntry ) : void

Builds the zip file.

UpdateDirectory ( string directory, string updatesDirectory, string folderName, bool createLogFile ) : void

Updates the directory.

UpdateFile ( ZipArchive zipArchive, ZipArchiveEntry zipArchiveEntry, string fullName, string newFilePath ) : void

Updates the file.

UpdateZip ( string zipName, string updatesDirectory, string folderName, bool createLogFile ) : void

Updates the zip.

ZipperService ( IFileSystem fileSystem ) : System.Collections.ObjectModel

Initializes a new instance of the ZipperService class.

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

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

Builds the zip file.
public BuildZipFile ( string updatesDirectory, string folderName, ZipArchive zipArchive, ZipArchiveEntry zipArchiveEntry ) : void
updatesDirectory string The updates directory.
folderName string Name of the folder.
zipArchive System.IO.Compression.ZipArchive The zip archive.
zipArchiveEntry System.IO.Compression.ZipArchiveEntry The zip archive entry.
Результат void

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

Updates the directory.
public UpdateDirectory ( string directory, string updatesDirectory, string folderName, bool createLogFile ) : void
directory string The directory.
updatesDirectory string The updates directory.
folderName string Name of the folder.
createLogFile bool if set to true [create log file].
Результат void

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

Updates the file.
public UpdateFile ( ZipArchive zipArchive, ZipArchiveEntry zipArchiveEntry, string fullName, string newFilePath ) : void
zipArchive System.IO.Compression.ZipArchive The zip archive.
zipArchiveEntry System.IO.Compression.ZipArchiveEntry The zip archive entry.
fullName string The full name.
newFilePath string The new file path.
Результат void

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

Updates the zip.
public UpdateZip ( string zipName, string updatesDirectory, string folderName, bool createLogFile ) : void
zipName string Name of the zip.
updatesDirectory string The updates directory.
folderName string Name of the folder.
createLogFile bool if set to true [create log file].
Результат void

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

Initializes a new instance of the ZipperService class.
public ZipperService ( IFileSystem fileSystem ) : System.Collections.ObjectModel
fileSystem IFileSystem The file system.
Результат System.Collections.ObjectModel