C# Class Gablarski.Clients.Updater

显示文件 Open project: ermau/Gablarski

Public Methods

Method Description
CheckAsync ( UpdateChannel channel ) : Task
CheckAsync ( UpdateChannel channel, CancellationToken cancelToken ) : Task
DownloadAsync ( Update update, IProgress progress ) : Task
DownloadAsync ( Update update, IProgress progress, CancellationToken cancelToken ) : Task

Method Details

CheckAsync() public static method

public static CheckAsync ( UpdateChannel channel ) : Task
channel UpdateChannel
return Task

CheckAsync() public static method

public static CheckAsync ( UpdateChannel channel, CancellationToken cancelToken ) : Task
channel UpdateChannel
cancelToken System.Threading.CancellationToken
return Task

DownloadAsync() public static method

public static DownloadAsync ( Update update, IProgress progress ) : Task
update Update
progress IProgress
return Task

DownloadAsync() public static method

public static DownloadAsync ( Update update, IProgress progress, CancellationToken cancelToken ) : Task
update Update
progress IProgress
cancelToken System.Threading.CancellationToken
return Task