C# 클래스 Scorchio.Infrastructure.Services.ZipperService

Defines the ZipperService type.
상속: IZipperService
파일 보기 프로젝트 열기: asudbury/NinjaCoderForMvvmCross 1 사용 예제들

공개 메소드들

메소드 설명
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