Abstract class incapsulating a key-value based property list.
More...
Public Member Functions | |
void | ClearProperties () |
Clear property table. | |
virtual void | Deserialize (XmlNode xmlNode) |
Deserializes the class item from xml format. | |
string | GetProperty (string key) |
Gets a named (key) property value from the property list. Null is returned of the property does not exists. | |
ICollection | GetPropertyKeys () |
Gets all the keys in the property collection. | |
object | GetTemporaryProperty (string key) |
Gets a named (key) temporary property value from the property list. Null is returned of the property does not exists. | |
PropertyClass () | |
Constructs a PropertyClass item. | |
virtual void | Serialize (System.Xml.XmlTextWriter xmlTextWriter) |
Serializes the class item into xml format. | |
virtual String | SerializeToString () |
Create a XmlNode containing the property dictionary, returned as a String. | |
virtual XmlNode | SerializeToXmlNode () |
Create a XmlNode containing the property dictionary, returned as a String. | |
void | SetProperty (string key, string value) |
Sets a named (key) property value in the property list. The property value is updated if the property exists. | |
void | SetTemporaryProperty (string key, object value) |
Sets a named (key) temporary property value in the property list. The property value is updated if the property exists. Temporary will not be serialized (stored) | |
Protected Attributes | |
SortedList | _properties = new SortedList() |
The key-value collection holding the properties. | |
SortedList | _temporaryProperties = new SortedList() |
The key-value collection holding the temporary properties. Temporary will not be serialized (stored) | |
Abstract class incapsulating a key-value based property list.
|
inline |
Constructs a PropertyClass item.
|
inline |
Clear property table.
|
inlinevirtual |
Deserializes the class item from xml format.
xmlNode | XmlNode containing the initialization xml |
Reimplemented in VideoOS.Platform.Client.ViewItemManager.
|
inline |
Gets a named (key) property value from the property list. Null is returned of the property does not exists.
key | The key of the property to get |
|
inline |
Gets all the keys in the property collection.
|
inline |
Gets a named (key) temporary property value from the property list. Null is returned of the property does not exists.
key | The key of the temporary property to get |
|
inlinevirtual |
Serializes the class item into xml format.
xmlTextWriter | XmlTextWriter that the class item is serialized to |
Reimplemented in VideoOS.Platform.Client.ViewItemManager.
|
inlinevirtual |
Create a XmlNode containing the property dictionary, returned as a String.
|
inlinevirtual |
Create a XmlNode containing the property dictionary, returned as a String.
|
inline |
Sets a named (key) property value in the property list. The property value is updated if the property exists.
key | The key of the property to set |
value | The value of the property to set |
Setting a value of null will remove the setting from the dictionary
|
inline |
Sets a named (key) temporary property value in the property list. The property value is updated if the property exists. Temporary will not be serialized (stored)
key | The key of the temporary property to set |
value | The value of the temporary property to set |
|
protected |
The key-value collection holding the properties.
|
protected |
The key-value collection holding the temporary properties. Temporary will not be serialized (stored)