|
| CachedVirtualFile (string virtualPath, byte[] data) |
|
System.IO.Stream | Open () |
| Returns an opened stream to the file contents. More...
|
|
|
string | VirtualPath [get] |
|
long | BytesOccupied [get] |
|
string | VirtualPath [get] |
| The virtual path of the file (relative to the domain, like /app/folder/file.ext) More...
|
|
Definition at line 66 of file SourceMemCache.cs.
System.IO.Stream ImageResizer.Plugins.SourceMemCache.CachedVirtualFile.Open |
( |
| ) |
|
|
inline |
Returns an opened stream to the file contents.
- Returns
Implements ImageResizer.Plugins.IVirtualFile.
Definition at line 80 of file SourceMemCache.cs.
82 if (originalHash == -1) originalHash = CaluclateHash();
83 else if (originalHash != CaluclateHash())
throw new AccessViolationException(
"A read-only memory stream was somehow modified.");
86 return new MemoryStream(data,
false);
The documentation for this class was generated from the following file:
- C:/Users/nathanael/Documents/resizer/Plugins/DiskCache/SourceMemCache/SourceMemCache.cs