C# Class withSIX.Mini.Presentation.Wpf.Services.ExternalFileDownloader

Inheritance: withSIX.Mini.Applications.Services.ExternalFileDownloaderBase, IPresentationService
Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
ExternalFileDownloader ( 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 ( IExternalDownloadStateHandler state ) : System
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