C# Class Yuhan.Deployment.Updater

Click Once Deployment의 Updater 모듈입니다. Update 확인 및 Update 기능을 제공 합니다.
显示文件 Open project: hansuky/Yuhan

Public Properties

Property Type Description
Interval System.TimeSpan
IsAsync System.Boolean
IsDownloading System.Boolean
SkipToUpdate System.Boolean

Private Properties

Property Type Description
CurrentDeployment_UpdateCompleted void
CurrentDeployment_UpdateProgressChanged void
InstallUpdateSyncWithInfo void
OnUpdateChecked void
OnUpdateChecked void
OnUpdateCompleted void
OnUpdateProgressChanged void
_worker_DoWork void

Public Methods

Method Description
CancelUpdate ( ) : void
StartUpdateAsync ( ) : void
StopUpdateAsync ( ) : void
Update ( ) : void

Private Methods

Method Description
CurrentDeployment_UpdateCompleted ( object sender, AsyncCompletedEventArgs e ) : void
CurrentDeployment_UpdateProgressChanged ( object sender, System.Deployment.Application.DeploymentProgressChangedEventArgs e ) : void
InstallUpdateSyncWithInfo ( ) : void
OnUpdateChecked ( Exception ex ) : void
OnUpdateChecked ( UpdateStateType type, String message = null ) : void
OnUpdateCompleted ( object sender, AsyncCompletedEventArgs e ) : void
OnUpdateProgressChanged ( object sender, System.Deployment.Application.DeploymentProgressChangedEventArgs e ) : void
_worker_DoWork ( object sender, DoWorkEventArgs e ) : void

Method Details

CancelUpdate() public static method

public static CancelUpdate ( ) : void
return void

StartUpdateAsync() public static method

public static StartUpdateAsync ( ) : void
return void

StopUpdateAsync() public static method

public static StopUpdateAsync ( ) : void
return void

Update() public static method

public static Update ( ) : void
return void

Property Details

Interval public_oe static_oe property

Update Checking Interval입니다.
public static TimeSpan,System Interval
return System.TimeSpan

IsAsync public_oe static_oe property

public static Boolean,System IsAsync
return System.Boolean

IsDownloading public_oe static_oe property

public static Boolean,System IsDownloading
return System.Boolean

SkipToUpdate public_oe static_oe property

public static Boolean,System SkipToUpdate
return System.Boolean