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

A collection of data and callbacks that can be passed to a caching object. More...

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

Properties

string RequestKey [get]
 A string derived from the request, which can contain any kind of data. To get a cache key that varies with the source modified date, it should be combined with the value of GetModifiedDateUTC() and hashed. More...
 
NameValueCollection RewrittenQuerystring [get]
 The rewritten querystring. Can be useful for caching systems that accept querystring arguments. More...
 
string SuggestedExtension [get]
 A file extension appropriate for the resulting data. May be different than the extension on the original request. More...
 
IResponseHeaders ResponseHeaders [get, set]
 The content-type of the data, among other things. Set ResponseHeaders.ApplyDuringPreSendRequestHeaders to automatically write caching headers based on ResponseHeaders values. Caching systems that use redirects may use this data as hints when configuring caching on the remote server. More...
 
ModifiedDateDelegate GetModifiedDateUTC [get]
 A delegate that returns the modified date of the source data. More...
 
bool HasModifiedDate [get]
 True if a modified date is available for verifying cache integrity. More...
 
ResizeImageDelegate ResizeImageToStream [get]
 A callback method that will resize, encode, and write the data to the given stream. More...
 

Detailed Description

A collection of data and callbacks that can be passed to a caching object.

Definition at line 27 of file IResponseArgs.cs.

Property Documentation

ModifiedDateDelegate ImageResizer.Caching.IResponseArgs.GetModifiedDateUTC
get

A delegate that returns the modified date of the source data.

Definition at line 54 of file IResponseArgs.cs.

bool ImageResizer.Caching.IResponseArgs.HasModifiedDate
get

True if a modified date is available for verifying cache integrity.

Definition at line 58 of file IResponseArgs.cs.

string ImageResizer.Caching.IResponseArgs.RequestKey
get

A string derived from the request, which can contain any kind of data. To get a cache key that varies with the source modified date, it should be combined with the value of GetModifiedDateUTC() and hashed.

Definition at line 34 of file IResponseArgs.cs.

ResizeImageDelegate ImageResizer.Caching.IResponseArgs.ResizeImageToStream
get

A callback method that will resize, encode, and write the data to the given stream.

Definition at line 62 of file IResponseArgs.cs.

IResponseHeaders ImageResizer.Caching.IResponseArgs.ResponseHeaders
getset

The content-type of the data, among other things. Set ResponseHeaders.ApplyDuringPreSendRequestHeaders to automatically write caching headers based on ResponseHeaders values. Caching systems that use redirects may use this data as hints when configuring caching on the remote server.

Definition at line 50 of file IResponseArgs.cs.

Referenced by ImageResizer.InterceptModule.context_PreSendRequestHeaders().

NameValueCollection ImageResizer.Caching.IResponseArgs.RewrittenQuerystring
get

The rewritten querystring. Can be useful for caching systems that accept querystring arguments.

Definition at line 38 of file IResponseArgs.cs.

Referenced by ImageResizer.Plugins.DiskCache.DiskCache.CanProcess().

string ImageResizer.Caching.IResponseArgs.SuggestedExtension
get

A file extension appropriate for the resulting data. May be different than the extension on the original request.

Definition at line 43 of file IResponseArgs.cs.


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