C# Class FFImageLoading.Cache.DownloadCache

Inheritance: IDownloadCache
Afficher le fichier Open project: daniel-luberda/FFImageLoading

Méthodes publiques

Méthode Description
DownloadAndCacheIfNeededAsync ( string url, TaskParameter parameters, Configuration configuration, CancellationToken token ) : Task
DownloadCache ( Configuration configuration ) : System

Méthodes protégées

Méthode Description
AllowDiskCaching ( CacheType cacheType ) : bool
DownloadAsync ( string url, CancellationToken token, HttpClient client ) : Task

Method Details

AllowDiskCaching() protected méthode

protected AllowDiskCaching ( CacheType cacheType ) : bool
cacheType CacheType
Résultat bool

DownloadAndCacheIfNeededAsync() public méthode

public DownloadAndCacheIfNeededAsync ( string url, TaskParameter parameters, Configuration configuration, CancellationToken token ) : Task
url string
parameters TaskParameter
configuration Configuration
token System.Threading.CancellationToken
Résultat Task

DownloadAsync() protected méthode

protected DownloadAsync ( string url, CancellationToken token, HttpClient client ) : Task
url string
token System.Threading.CancellationToken
client System.Net.Http.HttpClient
Résultat Task

DownloadCache() public méthode

public DownloadCache ( Configuration configuration ) : System
configuration Configuration
Résultat System