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

Inheritance: IMultiMirrorFileDownloader
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Méthodes publiques

Méthode Description
Download ( MultiMirrorFileDownloadSpec spec ) : void
Download ( MultiMirrorFileDownloadSpec spec, CancellationToken token ) : void
DownloadAsync ( MultiMirrorFileDownloadSpec spec ) : Task
DownloadAsync ( MultiMirrorFileDownloadSpec spec, CancellationToken token ) : Task
MultiMirrorFileDownloader ( IFileDownloader downloader, IMirrorSelector mirrorSelector ) : System

Méthodes protégées

Méthode Description
TryDownloadFile ( MultiMirrorFileDownloadSpec spec, Uri host ) : void
TryDownloadFileAsync ( MultiMirrorFileDownloadSpec spec, Uri host ) : Task

Private Methods

Méthode Description
BuildSpec ( MultiMirrorFileDownloadSpec spec, Uri host ) : FileDownloadSpec
ResetSpec ( MultiMirrorFileDownloadSpec spec ) : void
TryDownload ( MultiMirrorFileDownloadSpec spec, Uri host ) : bool
TryDownloadAsync ( MultiMirrorFileDownloadSpec spec, Uri host ) : Task

Method Details

Download() public méthode

public Download ( MultiMirrorFileDownloadSpec spec ) : void
spec withSIX.Sync.Core.Transfer.Specs.MultiMirrorFileDownloadSpec
Résultat void

Download() public méthode

public Download ( MultiMirrorFileDownloadSpec spec, CancellationToken token ) : void
spec withSIX.Sync.Core.Transfer.Specs.MultiMirrorFileDownloadSpec
token System.Threading.CancellationToken
Résultat void

DownloadAsync() public méthode

public DownloadAsync ( MultiMirrorFileDownloadSpec spec ) : Task
spec withSIX.Sync.Core.Transfer.Specs.MultiMirrorFileDownloadSpec
Résultat Task

DownloadAsync() public méthode

public DownloadAsync ( MultiMirrorFileDownloadSpec spec, CancellationToken token ) : Task
spec withSIX.Sync.Core.Transfer.Specs.MultiMirrorFileDownloadSpec
token System.Threading.CancellationToken
Résultat Task

MultiMirrorFileDownloader() public méthode

public MultiMirrorFileDownloader ( IFileDownloader downloader, IMirrorSelector mirrorSelector ) : System
downloader IFileDownloader
mirrorSelector IMirrorSelector
Résultat System

TryDownloadFile() protected méthode

protected TryDownloadFile ( MultiMirrorFileDownloadSpec spec, Uri host ) : void
spec withSIX.Sync.Core.Transfer.Specs.MultiMirrorFileDownloadSpec
host System.Uri
Résultat void

TryDownloadFileAsync() protected méthode

protected TryDownloadFileAsync ( MultiMirrorFileDownloadSpec spec, Uri host ) : Task
spec withSIX.Sync.Core.Transfer.Specs.MultiMirrorFileDownloadSpec
host System.Uri
Résultat Task