C# Class Scorchio.Infrastructure.Services.ZipperService

Defines the ZipperService type.
Inheritance: IZipperService
Datei anzeigen Open project: asudbury/NinjaCoderForMvvmCross Class Usage Examples

Public Methods

Method Description
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.

Method Details

BuildZipFile() public method

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.
return void

UpdateDirectory() public method

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].
return void

UpdateFile() public method

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.
return void

UpdateZip() public method

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].
return void

ZipperService() public method

Initializes a new instance of the ZipperService class.
public ZipperService ( IFileSystem fileSystem ) : System.Collections.ObjectModel
fileSystem IFileSystem The file system.
return System.Collections.ObjectModel