C# 클래스 FaceDetection.Model.Updater.UpdateHandler

Handler for auto updates of the application
파일 보기 프로젝트 열기: PkInfRemi/FaceDetectionApp 1 사용 예제들

공개 메소드들

메소드 설명
CancelDownload ( ) : void

Cancels the download.

DownloadUpdate ( ) : System.Threading.Tasks.Task

Downloads the update.

IsUpdateAvailable ( ) : Task

Determines whether an update is available.

UpdateHandler ( ) : System

Initializes a new instance of the UpdateHandler class.

보호된 메소드들

메소드 설명
OnUpdateDownloadCompleted ( UpdateDownloadCompletedArgs e ) : void

Called when the update download was completed.

OnUpdateDownloadProgressChanged ( UpdateDownloadProgressChangedArgs e ) : void

Called when the update download progress changed.

비공개 메소드들

메소드 설명
GetAssemblyVersion ( ) : System.Version
ParseVersion ( string versionText ) : System.Version
StartUpdate ( ) : void

메소드 상세

CancelDownload() 공개 메소드

Cancels the download.
public CancelDownload ( ) : void
리턴 void

DownloadUpdate() 공개 메소드

Downloads the update.
public DownloadUpdate ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

IsUpdateAvailable() 공개 메소드

Determines whether an update is available.
public IsUpdateAvailable ( ) : Task
리턴 Task

OnUpdateDownloadCompleted() 보호된 메소드

Called when the update download was completed.
protected OnUpdateDownloadCompleted ( UpdateDownloadCompletedArgs e ) : void
e UpdateDownloadCompletedArgs The args.
리턴 void

OnUpdateDownloadProgressChanged() 보호된 메소드

Called when the update download progress changed.
protected OnUpdateDownloadProgressChanged ( UpdateDownloadProgressChangedArgs e ) : void
e UpdateDownloadProgressChangedArgs The args.
리턴 void

UpdateHandler() 공개 메소드

Initializes a new instance of the UpdateHandler class.
public UpdateHandler ( ) : System
리턴 System