C# Class BCR.ImageCache

Afficher le fichier Open project: jeroenwalter/ComicRackWeb

Méthodes publiques

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

Méthode Description
CompareFileDate ( FileInfo x, FileInfo y ) : int
ImageCache ( ) : System

Method Details

CheckCache() public méthode

public CheckCache ( ) : void
Résultat void

ClearPageCache() public méthode

public ClearPageCache ( ) : void
Résultat void

ClearThumbnailsCache() public méthode

public ClearThumbnailsCache ( ) : void
Résultat void

GetPageCacheSize() public méthode

public GetPageCacheSize ( ) : long
Résultat long

GetThumbnailsCacheSize() public méthode

public GetThumbnailsCacheSize ( ) : long
Résultat long

LoadFromCache() public méthode

public LoadFromCache ( string filename, bool thumbnail ) : MemoryStream
filename string
thumbnail bool
Résultat System.IO.MemoryStream

SaveToCache() public méthode

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