C# Class Scorchio.Infrastructure.Services.ZipperService

Defines the ZipperService type.
Inheritance: IZipperService
Afficher le fichier Open project: asudbury/NinjaCoderForMvvmCross Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

UpdateDirectory() public méthode

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].
Résultat void

UpdateFile() public méthode

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.
Résultat void

UpdateZip() public méthode

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].
Résultat void

ZipperService() public méthode

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