A particular cached file.
Public Member Functions | |
| CachedContent (CachedContentSet set, string path) | |
| CachedContent (CachedContentSet set, string path, JSObject obj) | |
| void | Write (byte[] data) |
| Writes the given data to the file. More... | |
| void | Save () |
| Writes out this index entry. More... | |
| void | SetExpiry (string value) |
| Sets an expiry time. More... | |
| void | LoadFromJson (JSObject obj) |
| Loads this data from a JSON object. More... | |
| JSObject | ToJson () |
| Gets this data as a suitable JSON object. More... | |
Public Attributes | |
| string | Path |
| The relative path. More... | |
| bool | Changed |
| True if this requires saving. More... | |
| CachedContentSet | Set |
| The set this belongs to. More... | |
Static Public Attributes | |
| static int | Counter =1 |
| A counter for this session. More... | |
Properties | |
| bool | HasExpiry [get] |
| True if an expiry date was set (if in use, we don't bother with a check for a 304). More... | |
| string | ETag [get, set] |
| The etag. More... | |
| DateTime | Expiry [get, set] |
| The expiry of this entry (UTC datetime). More... | |
| DateTime | SavedAt [get, set] |
| The time it was saved at. More... | |
| string | PathToData [get, set] |
| Cached path. More... | |
| bool | Expired [get] |
| Has this cookie expired? More... | |
| byte[] | Data [get] |
| The cached data. More... | |
Private Attributes | |
| bool | HasExpiry_ |
| True if an expiry date was set (if in use, we don't bother with a check for a 304). More... | |
| string | ETag_ |
| The etag. More... | |
| DateTime | Expiry_ |
| The expiry of this entry (UTC datetime). More... | |
| DateTime | SavedAt_ |
| The time it was saved at. More... | |
| string | PathToData_ |
| Cached path. More... | |
|
inline |
|
inline |
|
inline |
Loads this data from a JSON object.
|
inline |
Writes out this index entry.
|
inline |
Sets an expiry time.
|
inline |
Gets this data as a suitable JSON object.
|
inline |
Writes the given data to the file.
| bool PowerUI.CachedContent.Changed |
True if this requires saving.
|
static |
A counter for this session.
|
private |
The etag.
|
private |
The expiry of this entry (UTC datetime).
|
private |
True if an expiry date was set (if in use, we don't bother with a check for a 304).
| string PowerUI.CachedContent.Path |
The relative path.
|
private |
Cached path.
|
private |
The time it was saved at.
| CachedContentSet PowerUI.CachedContent.Set |
The set this belongs to.
|
get |
The cached data.
|
getset |
The etag.
|
get |
Has this cookie expired?
|
getset |
The expiry of this entry (UTC datetime).
|
get |
True if an expiry date was set (if in use, we don't bother with a check for a 304).
|
getset |
Cached path.
|
getset |
The time it was saved at.