C# Class o3o.ImageHandler

Afficher le fichier Open project: zahndy/o3o

Méthodes publiques

Свойство Type Description
ImageCache string>.Dictionary
MemoryCache BitmapImage>.Dictionary

Méthodes publiques

Méthode Description
ClearCache ( ) : void
FetchImage ( string imageloc, decimal id ) : System.Windows.Media.ImageSource
GetImage ( decimal UserId, string ImageLocation ) : System.Windows.Media.ImageSource
ImageHandler ( ) : System
LoadCache ( ) : void
SaveCache ( ) : void
StoreImage ( BitmapImage image, string imagename, decimal userID ) : void

Private Methods

Méthode Description
tobitmapimage ( System img ) : BitmapImage

Method Details

ClearCache() public méthode

public ClearCache ( ) : void
Résultat void

FetchImage() public méthode

public FetchImage ( string imageloc, decimal id ) : System.Windows.Media.ImageSource
imageloc string
id decimal
Résultat System.Windows.Media.ImageSource

GetImage() public méthode

public GetImage ( decimal UserId, string ImageLocation ) : System.Windows.Media.ImageSource
UserId decimal
ImageLocation string
Résultat System.Windows.Media.ImageSource

ImageHandler() public méthode

public ImageHandler ( ) : System
Résultat System

LoadCache() public méthode

public LoadCache ( ) : void
Résultat void

SaveCache() public méthode

public SaveCache ( ) : void
Résultat void

StoreImage() public méthode

public StoreImage ( BitmapImage image, string imagename, decimal userID ) : void
image System.Windows.Media.Imaging.BitmapImage
imagename string
userID decimal
Résultat void

Property Details

ImageCache public_oe property

public Dictionary ImageCache
Résultat string>.Dictionary

MemoryCache public_oe property

public Dictionary MemoryCache
Résultat BitmapImage>.Dictionary