C# Class withSIX.Mini.Presentation.Electron.ExternalFileDownloader

Inheritance: withSIX.Mini.Applications.Services.ExternalFileDownloaderBase, IPresentationService
ファイルを表示 Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
ExternalFileDownloader ( INodeApi api, IExternalDownloadStateHandler state ) : System

Protected Methods

Method Description
DownloadFileImpl ( Uri url, IAbsoluteDirectoryPath destination, double>.Action progressAction, CancellationToken token ) : Task
StartSessionImpl ( Uri url, IAbsoluteDirectoryPath destination, CancellationToken cancelToken ) : Task

Method Details

DownloadFileImpl() protected method

protected DownloadFileImpl ( Uri url, IAbsoluteDirectoryPath destination, double>.Action progressAction, CancellationToken token ) : Task
url System.Uri
destination IAbsoluteDirectoryPath
progressAction double>.Action
token System.Threading.CancellationToken
return Task

ExternalFileDownloader() public method

public ExternalFileDownloader ( INodeApi api, IExternalDownloadStateHandler state ) : System
api INodeApi
state IExternalDownloadStateHandler
return System

StartSessionImpl() protected method

protected StartSessionImpl ( Uri url, IAbsoluteDirectoryPath destination, CancellationToken cancelToken ) : Task
url System.Uri
destination IAbsoluteDirectoryPath
cancelToken System.Threading.CancellationToken
return Task