C# Class BCR.ImageCache

Datei anzeigen Open project: jeroenwalter/ComicRackWeb

Public Methods

Method Description
CheckCache ( ) : void
ClearPageCache ( ) : void
ClearThumbnailsCache ( ) : void
GetPageCacheSize ( ) : long
GetThumbnailsCacheSize ( ) : long
LoadFromCache ( string filename, bool thumbnail ) : MemoryStream
SaveToCache ( string filename, MemoryStream image, bool thumbnail ) : void

Private Methods

Method Description
CompareFileDate ( FileInfo x, FileInfo y ) : int
ImageCache ( ) : System

Method Details

CheckCache() public method

public CheckCache ( ) : void
return void

ClearPageCache() public method

public ClearPageCache ( ) : void
return void

ClearThumbnailsCache() public method

public ClearThumbnailsCache ( ) : void
return void

GetPageCacheSize() public method

public GetPageCacheSize ( ) : long
return long

GetThumbnailsCacheSize() public method

public GetThumbnailsCacheSize ( ) : long
return long

LoadFromCache() public method

public LoadFromCache ( string filename, bool thumbnail ) : MemoryStream
filename string
thumbnail bool
return System.IO.MemoryStream

SaveToCache() public method

public SaveToCache ( string filename, MemoryStream image, bool thumbnail ) : void
filename string
image System.IO.MemoryStream
thumbnail bool
return void