ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | List of all members
ImageResizer.Caching.ICache Interface Reference

Provides caching behavior More...

Inheritance diagram for ImageResizer.Caching.ICache:
Inheritance graph
[legend]

Public Member Functions

bool CanProcess (HttpContext current, IResponseArgs e)
 Returns false if the cache is unable to process the request. If false, the caller should fall back to a different cache More...
 
void Process (HttpContext current, IResponseArgs e)
 Must update the cache if needed, then either rewrite, redirect or serve the cached data. More...
 

Detailed Description

Provides caching behavior

Definition at line 12 of file ICache.cs.

Member Function Documentation

bool ImageResizer.Caching.ICache.CanProcess ( HttpContext  current,
IResponseArgs  e 
)

Returns false if the cache is unable to process the request. If false, the caller should fall back to a different cache

Parameters
current
e

Implemented in ImageResizer.Plugins.DiskCache.DiskCache.

Referenced by ImageResizer.Configuration.PipelineConfig.GetCachingSystem().

void ImageResizer.Caching.ICache.Process ( HttpContext  current,
IResponseArgs  e 
)

Must update the cache if needed, then either rewrite, redirect or serve the cached data.

Parameters
current
e

Implemented in ImageResizer.Plugins.DiskCache.DiskCache.


The documentation for this interface was generated from the following file: