PowerUI.CachedContentSet Class Reference

Detailed Description

All the cached files in a domain.

Inheritance diagram for PowerUI.CachedContentSet:
PowerUI.DomainEntry

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, CachedContentEntries =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...
 

Constructor & Destructor Documentation

PowerUI.CachedContentSet.CachedContentSet ( DomainData  data)
inline

Member Function Documentation

void PowerUI.CachedContentSet.Add ( string  url,
CachedContent  content 
)
inline

Adds a cached file to the index.

override void PowerUI.CachedContentSet.LoadFromJson ( Json.JSObject  obj)
inline

Loads this cached data from the given JSON object.

override Json.JSObject PowerUI.CachedContentSet.ToJson ( )
inlinevirtual

Writes out this cache data as a JSON object.

Reimplemented from PowerUI.DomainEntry.

Member Data Documentation

Dictionary<string,CachedContent> PowerUI.CachedContentSet.Entries =new Dictionary<string,CachedContent>()

The set of entries. Relative URL mapped to the metadata.

Property Documentation

override bool PowerUI.CachedContentSet.IsEmpty
get