C# Class Torshify.Client.Infrastructure.Services.ImageCacheService.DiskImageCacheEntry

Inheritance: Microsoft.Practices.Prism.ViewModel.NotificationObject, IImageCacheEntry
Afficher le fichier Open project: torshy/torshify-client

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
LoadCoverArt ( ) : void

Method Details

DiskImageCacheEntry() public méthode

public DiskImageCacheEntry ( string id, string path, int decodeWidth = 300, int decodeHeight = 300 ) : System
id string
path string
decodeWidth int
decodeHeight int
Résultat System

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetCoverArtSource() public static méthode

public static GetCoverArtSource ( string absolutePath, int decodeHeight, int decodeWidth ) : BitmapImage
absolutePath string
decodeHeight int
decodeWidth int
Résultat System.Windows.Media.Imaging.BitmapImage

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

SetBitmap() public méthode

public SetBitmap ( System.Windows.Media.Imaging.BitmapSource bitmapSource ) : void
bitmapSource System.Windows.Media.Imaging.BitmapSource
Résultat void