C# Class OpenTween.ImageCache

Inheritance: IDisposable
Afficher le fichier Open project: opentween/OpenTween Class Usage Examples

Méthodes publiques

Méthode Description
CancelAsync ( ) : void
Dispose ( ) : void
DownloadImageAsync ( string address, bool force = false ) : Task

指定された URL にある画像を非同期に取得するメソッド

ImageCache ( ) : System
TryGetFromCache ( string address ) : MemoryImage

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
FetchImageAsync ( string uri, CancellationToken cancelToken ) : Task

Method Details

CancelAsync() public méthode

public CancelAsync ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DownloadImageAsync() public méthode

指定された URL にある画像を非同期に取得するメソッド
public DownloadImageAsync ( string address, bool force = false ) : Task
address string 取得先の URL
force bool キャッシュを使用せずに取得する場合は true
Résultat Task

ImageCache() public méthode

public ImageCache ( ) : System
Résultat System

TryGetFromCache() public méthode

public TryGetFromCache ( string address ) : MemoryImage
address string
Résultat MemoryImage