C# Class FloydPink.Flickr.Downloadr.Logic.DownloadLogic

Inheritance: IDownloadLogic
Afficher le fichier Open project: flickr-downloadr/flickr-downloadr

Méthodes publiques

Méthode Description
Download ( IEnumerable photos, CancellationToken cancellationToken, IProgress progress, Preferences preferences ) : Task
DownloadLogic ( IOriginalTagsLogic originalTagsLogic ) : System

Private Methods

Méthode Description
CreateDownloadFolder ( string downloadLocation ) : DirectoryInfo
DownloadAndSavePhoto ( string targetFileName, WebRequest request, byte buffer ) : Task
DownloadPhotos ( IEnumerable photos, CancellationToken cancellationToken, IProgress progress, Preferences preferences ) : Task
GetSafeFilename ( string path ) : string
RandomString ( int size ) : string
WriteMetaDataFile ( Model.Photo photo, string targetFileName, Preferences preferences ) : void

Method Details

Download() public méthode

public Download ( IEnumerable photos, CancellationToken cancellationToken, IProgress progress, Preferences preferences ) : Task
photos IEnumerable
cancellationToken System.Threading.CancellationToken
progress IProgress
preferences Preferences
Résultat Task

DownloadLogic() public méthode

public DownloadLogic ( IOriginalTagsLogic originalTagsLogic ) : System
originalTagsLogic IOriginalTagsLogic
Résultat System