C# Class withSIX.Core.Infra.Services.VersionRegistry

Inheritance: IEnableLogging
Show file Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
Init ( ) : System.Threading.Tasks.Task
UpdateLocalVersion ( Action action ) : System.Threading.Tasks.Task
VersionRegistry ( Uri uri, IApiLocalObjectCacheManager cacheManager, ISystemInfo systemInfo ) : System

Private Methods

Method Description
GetToolsInfo ( string versionInfoFile ) : Task
Save ( string file, VersionInfoDto obj ) : System.Threading.Tasks.Task
TryDownloadVersionInfo ( ) : System.Threading.Tasks.Task
TryLoadLocalVersionInfo ( ) : System.Threading.Tasks.Task
TryLoadVersionInfo ( ) : System.Threading.Tasks.Task

Method Details

Init() public method

public Init ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

UpdateLocalVersion() public method

public UpdateLocalVersion ( Action action ) : System.Threading.Tasks.Task
action Action
return System.Threading.Tasks.Task

VersionRegistry() public method

public VersionRegistry ( Uri uri, IApiLocalObjectCacheManager cacheManager, ISystemInfo systemInfo ) : System
uri System.Uri
cacheManager IApiLocalObjectCacheManager
systemInfo ISystemInfo
return System