ImageResizer
3.4.0
|
Public Member Functions | |
CacheResult (CacheQueryResult result, string physicalPath, string relativePath) | |
CacheResult (CacheQueryResult result, Stream data, string relativePath) | |
Properties | |
string | PhysicalPath [get] |
The physical path to the cached item. Verify .Data is null before trying to read from this file. More... | |
Stream | Data [get, set] |
Provides a read-only stream to the data. Usually a MemoryStream instance, but you should dispose it once you are done. If this value is not null, it indicates that the file has not yet been written to disk, and you should read it from this stream instead. More... | |
string | RelativePath [get] |
The path relative to the cache More... | |
CacheQueryResult | Result [get, set] |
The result of the cache check More... | |
Definition at line 22 of file CacheResult.cs.
|
getset |
Provides a read-only stream to the data. Usually a MemoryStream instance, but you should dispose it once you are done. If this value is not null, it indicates that the file has not yet been written to disk, and you should read it from this stream instead.
Definition at line 47 of file CacheResult.cs.
Referenced by ImageResizer.Plugins.DiskCache.DiskCache.Process().
|
get |
The physical path to the cached item. Verify .Data is null before trying to read from this file.
Definition at line 38 of file CacheResult.cs.
|
get |
The path relative to the cache
Definition at line 57 of file CacheResult.cs.
Referenced by ImageResizer.Plugins.DiskCache.CustomDiskCache.GetCachedFile(), and ImageResizer.Plugins.DiskCache.DiskCache.Process().
|
getset |
The result of the cache check
Definition at line 65 of file CacheResult.cs.