ImageResizer
3.4.0
|
IResponseArgs implementation More...
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... | |
IResponseArgs implementation
Definition at line 12 of file ResponseArgs.cs.
|
getset |
A callback method to return the last modified date of the source file if available, or DateTime.MinValue if not.
Definition at line 22 of file ResponseArgs.cs.
|
getset |
True if the source file/record has a modified date
Definition at line 61 of file ResponseArgs.cs.
|
getset |
A value derived from the request. Can be used as a cache key.
Definition at line 45 of file ResponseArgs.cs.
|
getset |
A callback method that will resize and encode the image into a stream.
Definition at line 35 of file ResponseArgs.cs.
|
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.
|
getset |
The rewritten querystring. Can be useful for caching systems that accept querystring arguments.
Definition at line 83 of file ResponseArgs.cs.