C# 클래스 AcManager.Tools.Data.BaseUpdater

상속: FirstFloor.ModernUI.Presentation.NotifyPropertyChanged
파일 보기 프로젝트 열기: gro-ove/actools

Private Properties

프로퍼티 타입 설명
CheckUpdateABitLater void
PeriodicCheckAsync Task

공개 메소드들

메소드 설명
CheckAndUpdateIfNeeded ( ) : Task

보호된 메소드들

메소드 설명
BaseUpdater ( [ installedVersion ) : System
CanBeUpdated ( ) : bool
CheckAndUpdateIfNeededInner ( ) : Task

Check and install/prepare update.

FirstCheck ( ) : void
GetUpdatePeriod ( ) : System.TimeSpan

Will be called in BaseUpdater constructor!

OnCommonSettingsChanged ( object sender, System e ) : void
OnUpdated ( ) : void
RestartPeriodicCheck ( ) : void
SetListener ( ) : void

Will be called in BaseUpdater constructor!

비공개 메소드들

메소드 설명
CheckUpdateABitLater ( ) : void
PeriodicCheckAsync ( CancellationToken token ) : Task

메소드 상세

BaseUpdater() 보호된 메소드

protected BaseUpdater ( [ installedVersion ) : System
installedVersion [
리턴 System

CanBeUpdated() 보호된 메소드

protected CanBeUpdated ( ) : bool
리턴 bool

CheckAndUpdateIfNeeded() 공개 메소드

public CheckAndUpdateIfNeeded ( ) : Task
리턴 Task

CheckAndUpdateIfNeededInner() 보호된 추상적인 메소드

Check and install/prepare update.
protected abstract CheckAndUpdateIfNeededInner ( ) : Task
리턴 Task

FirstCheck() 보호된 메소드

protected FirstCheck ( ) : void
리턴 void

GetUpdatePeriod() 보호된 메소드

Will be called in BaseUpdater constructor!
protected GetUpdatePeriod ( ) : System.TimeSpan
리턴 System.TimeSpan

OnCommonSettingsChanged() 보호된 메소드

protected OnCommonSettingsChanged ( object sender, System e ) : void
sender object
e System
리턴 void

OnUpdated() 보호된 메소드

protected OnUpdated ( ) : void
리턴 void

RestartPeriodicCheck() 보호된 메소드

protected RestartPeriodicCheck ( ) : void
리턴 void

SetListener() 보호된 메소드

Will be called in BaseUpdater constructor!
protected SetListener ( ) : void
리턴 void