C# Класс DvachBrowser.Assets.BitmapManager

Downloads and caches images or their errors.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DownloadImage ( string uri, System.Action onFinished ) : void
GetCachedImage ( string uri ) : CachedBitmapImageModel

Приватные методы

Метод Описание
AddImage ( string uri, System.Windows.Media.Imaging.BitmapSource bitmap ) : void
OnError ( string uri, string error, System.Action onFinished ) : void
OnImageDownloaded ( string uri, System.Windows.Media.Imaging.BitmapSource bitmap, System.Action onFinished ) : void

Описание методов

DownloadImage() публичный Метод

public DownloadImage ( string uri, System.Action onFinished ) : void
uri string
onFinished System.Action
Результат void

GetCachedImage() публичный Метод

public GetCachedImage ( string uri ) : CachedBitmapImageModel
uri string
Результат CachedBitmapImageModel