ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Protected Attributes | Properties | List of all members
ImageResizer.Caching.ResponseArgs Class Reference

IResponseArgs implementation More...

Inheritance diagram for ImageResizer.Caching.ResponseArgs:
Inheritance graph
[legend]
Collaboration diagram for ImageResizer.Caching.ResponseArgs:
Collaboration graph
[legend]

Protected Attributes

ModifiedDateDelegate getModifiedDateUTC
 
ResizeImageDelegate resizeImageToStream
 
string requestKey = null
 
string suggestedExtension = null
 
bool hasModifiedDate
 
IResponseHeaders responseHeaders = new ResponseHeaders()
 
NameValueCollection rewrittenQuerystring
 

Properties

ModifiedDateDelegate GetModifiedDateUTC [get, set]
 A callback method to return the last modified date of the source file if available, or DateTime.MinValue if not. More...
 
GetSourceImageDelegate GetSourceImage [get, set]
 
ResizeImageDelegate ResizeImageToStream [get, set]
 A callback method that will resize and encode the image into a stream. More...
 
string RequestKey [get, set]
 A value derived from the request. Can be used as a cache key. More...
 
string SuggestedExtension [get, set]
 
bool HasModifiedDate [get, set]
 True if the source file/record has a modified date 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...
 
NameValueCollection RewrittenQuerystring [get, set]
 The rewritten querystring. Can be useful for caching systems that accept querystring arguments. More...
 
- Properties inherited from ImageResizer.Caching.IResponseArgs
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

IResponseArgs implementation

Definition at line 12 of file ResponseArgs.cs.

Property Documentation

ModifiedDateDelegate ImageResizer.Caching.ResponseArgs.GetModifiedDateUTC
getset

A callback method to return the last modified date of the source file if available, or DateTime.MinValue if not.

Returns

Definition at line 22 of file ResponseArgs.cs.

bool ImageResizer.Caching.ResponseArgs.HasModifiedDate
getset

True if the source file/record has a modified date

Definition at line 61 of file ResponseArgs.cs.

string ImageResizer.Caching.ResponseArgs.RequestKey
getset

A value derived from the request. Can be used as a cache key.

Definition at line 45 of file ResponseArgs.cs.

ResizeImageDelegate ImageResizer.Caching.ResponseArgs.ResizeImageToStream
getset

A callback method that will resize and encode the image into a stream.

Definition at line 35 of file ResponseArgs.cs.

IResponseHeaders ImageResizer.Caching.ResponseArgs.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 73 of file ResponseArgs.cs.

NameValueCollection ImageResizer.Caching.ResponseArgs.RewrittenQuerystring
getset

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

Definition at line 83 of file ResponseArgs.cs.


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