C# Class withSIX.Sync.Core.Transfer.DataDownloader

Inheritance: IDataDownloader
Show file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
DataDownloader ( IFileDownloader downloader ) : System
Download ( Uri uri ) : byte[]
Download ( Uri uri, ITransferProgress progress ) : byte[]
DownloadAsync ( Uri uri ) : Task
DownloadAsync ( Uri uri, ITransferProgress progress ) : Task

Method Details

DataDownloader() public method

public DataDownloader ( IFileDownloader downloader ) : System
downloader IFileDownloader
return System

Download() public method

public Download ( Uri uri ) : byte[]
uri System.Uri
return byte[]

Download() public method

public Download ( Uri uri, ITransferProgress progress ) : byte[]
uri System.Uri
progress ITransferProgress
return byte[]

DownloadAsync() public method

public DownloadAsync ( Uri uri ) : Task
uri System.Uri
return Task

DownloadAsync() public method

public DownloadAsync ( Uri uri, ITransferProgress progress ) : Task
uri System.Uri
progress ITransferProgress
return Task