C# 클래스 ZeroInstall.Publish.Capture.CaptureSession

Manages the process of taking two Snapshots and comparing them to generate a Feed.
파일 보기 프로젝트 열기: 0install/0install-win

Private Properties

프로퍼티 타입 설명
CaptureSession System
GetCapabilityList CapabilityList
Load CaptureSession
Start CaptureSession

공개 메소드들

메소드 설명
CollectFiles ( [ archivePath, [ archiveUrl, [ handler ) : void

Creates a archive containing the InstallationDir.

Sets FeedBuilder.RetrievalMethod and calls FeedBuilder.CalculateDigest.

Diff ( [ handler ) : void

Collects data from the locations indicated by the differences between the Start state and the current system state.

Finish ( ) : void

Finishes the capture process after Diff has been called an FeedBuilder.MainCandidate has been set.

Save ( [ path ) : void

Saves the capture session to a snapshot file.

비공개 메소드들

메소드 설명
CaptureSession ( [ snapshotBefore, [ feedBuilder ) : System
GetCapabilityList ( CommandMapper commandMapper, SnapshotDiff diff ) : CapabilityList
Load ( [ path, [ feedBuilder ) : CaptureSession
Start ( [ feedBuilder ) : CaptureSession

메소드 상세

CollectFiles() 공개 메소드

Creates a archive containing the InstallationDir.
Sets FeedBuilder.RetrievalMethod and calls FeedBuilder.CalculateDigest.
was not called or is not set. The user canceled the task. There was an error reading the installation files or writing the archive. Access to the file system was not permitted.
public CollectFiles ( [ archivePath, [ archiveUrl, [ handler ) : void
archivePath [ The path of the archive file to create.
archiveUrl [ The URL where the archive will be uploaded.
handler [ A callback object used when the the user needs to be informed about IO tasks.
리턴 void

Diff() 공개 메소드

Collects data from the locations indicated by the differences between the Start state and the current system state.
No installation directory was detected. The user canceled the task. There was an error accessing the registry or file system. Access to the registry or file system was not permitted.
public Diff ( [ handler ) : void
handler [ A callback object used when the the user needs to be informed about IO tasks.
리턴 void

Finish() 공개 메소드

Finishes the capture process after Diff has been called an FeedBuilder.MainCandidate has been set.
was not called or is not set. There was an error accessing the registry or file system. Access to the registry or file system was not permitted.
public Finish ( ) : void
리턴 void

Save() 공개 메소드

Saves the capture session to a snapshot file.
A problem occured while writing the file. Write access to the file is not permitted.
public Save ( [ path ) : void
path [ The file to save in.
리턴 void