Table of Contents

ThumbnailCache Class

Definition

Namespace
GleamTech.FileUltimate.AspNet.UI
Assembly
GleamTech.FileUltimate.dll

Provides methods for handling caching of thumbnails, used by FileManager.

public class ThumbnailCache : FileCache
Inheritance
FileCache
ThumbnailCache

Constructors

ThumbnailCache(string)

Initializes a new instance of the ThumbnailCache class.

Methods

GetOrAddThumbnail(Func<Stream>, BackSlashPath, long, DateTime, int)

Gets or adds a thumbnail for file.

GetOrAddWebSafeImage(Func<Stream>, BackSlashPath, long, DateTime)

Gets or adds a web safe image for file.

OnMigrate(Version)

Implement this method in a subclass to return migrations ro execute for its specific cache files.