ImageResizer
3.4.0
|
Represents a file stored in GridFS and the requested resize settings More...
Public Member Functions | |
MongoVirtualFile (MongoReaderPlugin parent, string virtualPath, NameValueCollection query) | |
Creates a new MongoVirtualFile More... | |
Stream | Open () |
Locates and opens a GridFS file matching the filename. Using the files id as opposed to its 'friendly' name will improve the response time More... | |
string | GetCacheKey (bool includeModifiedDate) |
Returns the virtual folder cache-key More... | |
Protected Attributes | |
ResizeSettings | Query |
Resize settings from the query More... | |
string | _virtualPath |
The files virtual path More... | |
Properties | |
string | VirtualPath [get] |
The virtual path to a GridFS file More... | |
Properties inherited from ImageResizer.Plugins.IVirtualFile | |
string | VirtualPath [get] |
The virtual path of the file (relative to the domain, like /app/folder/file.ext) More... | |
Represents a file stored in GridFS and the requested resize settings
Definition at line 147 of file MongoReaderPlugin.cs.
|
inline |
Creates a new MongoVirtualFile
parent | |
virtualPath | |
query |
Definition at line 168 of file MongoReaderPlugin.cs.
|
inline |
Returns the virtual folder cache-key
Ignores includeModifiedDate parameter
includeModifiedDate |
Implements ImageResizer.Plugins.IVirtualFileSourceCacheKey.
Definition at line 222 of file MongoReaderPlugin.cs.
|
inline |
Locates and opens a GridFS file matching the filename. Using the files id as opposed to its 'friendly' name will improve the response time
Implements ImageResizer.Plugins.IVirtualFile.
Definition at line 192 of file MongoReaderPlugin.cs.
|
protected |
The files virtual path
Definition at line 160 of file MongoReaderPlugin.cs.
|
protected |
Resize settings from the query
Definition at line 155 of file MongoReaderPlugin.cs.
|
get |
The virtual path to a GridFS file
Definition at line 183 of file MongoReaderPlugin.cs.