C# Class AcManager.Tools.Miscellaneous.LocaleUpdater

Inheritance: AcManager.Tools.Data.BaseUpdater
Show file Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
Initialize ( string loadedVersion ) : void
InstallCustom ( string id, IProgress progress = null, CancellationToken cancellation = default(CancellationToken) ) : Task
LocaleUpdater ( string loadedVersion ) : System

Protected Methods

Method Description
CanBeUpdated ( ) : bool
CheckAndUpdateIfNeededInner ( ) : Task
FirstCheck ( ) : void
GetUpdatePeriod ( ) : System.TimeSpan
OnCommonSettingsChanged ( object sender, System e ) : void
SetListener ( ) : void

Method Details

CanBeUpdated() protected method

protected CanBeUpdated ( ) : bool
return bool

CheckAndUpdateIfNeededInner() protected method

protected CheckAndUpdateIfNeededInner ( ) : Task
return Task

FirstCheck() protected method

protected FirstCheck ( ) : void
return void

GetUpdatePeriod() protected method

protected GetUpdatePeriod ( ) : System.TimeSpan
return System.TimeSpan

Initialize() public static method

public static Initialize ( string loadedVersion ) : void
loadedVersion string
return void

InstallCustom() public method

public InstallCustom ( string id, IProgress progress = null, CancellationToken cancellation = default(CancellationToken) ) : Task
id string
progress IProgress
cancellation System.Threading.CancellationToken
return Task

LocaleUpdater() public method

public LocaleUpdater ( string loadedVersion ) : System
loadedVersion string
return System

OnCommonSettingsChanged() protected method

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

SetListener() protected method

protected SetListener ( ) : void
return void