The SessionStorage Web API.
Public Member Functions | |
SessionStorage (HtmlDocument d) | |
override string | getItem (string key) |
Gets the item with the given key. More... | |
override void | setItem (string key, string data) |
Sets the item with the given key. More... | |
override void | removeItem (string key) |
Removes the item with the given key. More... | |
override void | clear () |
Removes all the items. More... | |
Public Member Functions inherited from PowerUI.Storage | |
Storage (HtmlDocument document) | |
string | key (int i) |
The key at index i. More... | |
string | saveKeySet () |
Builds a key set as a string. More... | |
Private Attributes | |
Dictionary< string, string > | Store =new Dictionary<string,string>() |
The key/value store. More... | |
Additional Inherited Members | |
Public Attributes inherited from PowerUI.Storage | |
List< string > | KeyList |
The available keys for this domain. More... | |
Dictionary< string, bool > | KeyLookup |
The available keys for this domain. More... | |
Package Functions inherited from PowerUI.Storage | |
void | loadKeySet (string keys) |
Loads a key set. More... | |
bool | hasItem (string key) |
True if the given key is set. More... | |
void | AddKey (string key) |
Adds a key to the lookups. More... | |
void | RemoveKey (string key) |
Removes a key from the lookups. More... | |
Package Attributes inherited from PowerUI.Storage | |
string | origin |
The storage origin. More... | |
|
inline |
|
inlinevirtual |
Removes all the items.
Reimplemented from PowerUI.Storage.
|
inlinevirtual |
Gets the item with the given key.
Reimplemented from PowerUI.Storage.
|
inlinevirtual |
Removes the item with the given key.
Reimplemented from PowerUI.Storage.
|
inlinevirtual |
Sets the item with the given key.
Reimplemented from PowerUI.Storage.
|
private |
The key/value store.