C# Class AcManager.Tools.Data.BaseUpdater

Inheritance: FirstFloor.ModernUI.Presentation.NotifyPropertyChanged
Show file Open project: gro-ove/actools

Private Properties

Property Type Description
CheckUpdateABitLater void
PeriodicCheckAsync Task

Public Methods

Method Description
CheckAndUpdateIfNeeded ( ) : Task

Protected Methods

Method Description
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!

Private Methods

Method Description
CheckUpdateABitLater ( ) : void
PeriodicCheckAsync ( CancellationToken token ) : Task

Method Details

BaseUpdater() protected method

protected BaseUpdater ( [ installedVersion ) : System
installedVersion [
return System

CanBeUpdated() protected method

protected CanBeUpdated ( ) : bool
return bool

CheckAndUpdateIfNeeded() public method

public CheckAndUpdateIfNeeded ( ) : Task
return Task

CheckAndUpdateIfNeededInner() protected abstract method

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

FirstCheck() protected method

protected FirstCheck ( ) : void
return void

GetUpdatePeriod() protected method

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

OnCommonSettingsChanged() protected method

protected OnCommonSettingsChanged ( object sender, System e ) : void
sender object
e System
return void

OnUpdated() protected method

protected OnUpdated ( ) : void
return void

RestartPeriodicCheck() protected method

protected RestartPeriodicCheck ( ) : void
return void

SetListener() protected method

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