All the cached files in a domain.
Public Member Functions | |
CachedContentSet (DomainData data) | |
void | Add (string url, CachedContent content) |
Adds a cached file to the index. More... | |
override void | LoadFromJson (Json.JSObject obj) |
Loads this cached data from the given JSON object. More... | |
override Json.JSObject | ToJson () |
Writes out this cache data as a JSON object. More... | |
Public Member Functions inherited from PowerUI.DomainEntry | |
DomainEntry (DomainData domain) | |
void | Save () |
Saves this data now. More... | |
virtual void | LoadFromJson (JSObject obj) |
Loads this data from JSON. More... | |
Public Attributes | |
Dictionary< string, CachedContent > | Entries =new Dictionary<string,CachedContent>() |
The set of entries. Relative URL mapped to the metadata. More... | |
Public Attributes inherited from PowerUI.DomainEntry | |
DomainData | Domain |
The domain that this entry is part of. More... | |
Properties | |
override bool | IsEmpty [get] |
Properties inherited from PowerUI.DomainEntry | |
string | Host [get] |
virtual string | JsonIndex [get] |
The index used in the JSON data. More... | |
virtual bool | IsEmpty [get] |
True if this entry has no useful information inside it. More... | |
|
inline |
|
inline |
Adds a cached file to the index.
|
inline |
Loads this cached data from the given JSON object.
|
inlinevirtual |
Writes out this cache data as a JSON object.
Reimplemented from PowerUI.DomainEntry.
Dictionary<string,CachedContent> PowerUI.CachedContentSet.Entries =new Dictionary<string,CachedContent>() |
The set of entries. Relative URL mapped to the metadata.
|
get |