C# Класс Torshify.Client.Infrastructure.Services.ImageCacheService.DiskImageCacheEntry

Наследование: Microsoft.Practices.Prism.ViewModel.NotificationObject, IImageCacheEntry
Показать файл Открыть проект

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

Метод Описание
DiskImageCacheEntry ( string id, string path, int decodeWidth = 300, int decodeHeight = 300 ) : System
Equals ( object obj ) : bool
GetCoverArtSource ( string absolutePath, int decodeHeight, int decodeWidth ) : BitmapImage
GetHashCode ( ) : int
SetBitmap ( System.Windows.Media.Imaging.BitmapSource bitmapSource ) : void

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

Метод Описание
LoadCoverArt ( ) : void

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

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

public DiskImageCacheEntry ( string id, string path, int decodeWidth = 300, int decodeHeight = 300 ) : System
id string
path string
decodeWidth int
decodeHeight int
Результат System

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

public Equals ( object obj ) : bool
obj object
Результат bool

GetCoverArtSource() публичный статический Метод

public static GetCoverArtSource ( string absolutePath, int decodeHeight, int decodeWidth ) : BitmapImage
absolutePath string
decodeHeight int
decodeWidth int
Результат System.Windows.Media.Imaging.BitmapImage

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

public GetHashCode ( ) : int
Результат int

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

public SetBitmap ( System.Windows.Media.Imaging.BitmapSource bitmapSource ) : void
bitmapSource System.Windows.Media.Imaging.BitmapSource
Результат void