C# Class o3o.ImageHandler

ファイルを表示 Open project: zahndy/o3o

Public Properties

Property Type Description
ImageCache string>.Dictionary
MemoryCache BitmapImage>.Dictionary

Public Methods

Method 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

Method Description
tobitmapimage ( System img ) : BitmapImage

Method Details

ClearCache() public method

public ClearCache ( ) : void
return void

FetchImage() public method

public FetchImage ( string imageloc, decimal id ) : System.Windows.Media.ImageSource
imageloc string
id decimal
return System.Windows.Media.ImageSource

GetImage() public method

public GetImage ( decimal UserId, string ImageLocation ) : System.Windows.Media.ImageSource
UserId decimal
ImageLocation string
return System.Windows.Media.ImageSource

ImageHandler() public method

public ImageHandler ( ) : System
return System

LoadCache() public method

public LoadCache ( ) : void
return void

SaveCache() public method

public SaveCache ( ) : void
return void

StoreImage() public method

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

Property Details

ImageCache public_oe property

public Dictionary ImageCache
return string>.Dictionary

MemoryCache public_oe property

public Dictionary MemoryCache
return BitmapImage>.Dictionary