Dawn of Light - Class documentation 2900
This is the Dawn of Light project
DOL.GS.PropertyCollection Class Reference

Holds properties of different types. More...

List of all members.

Public Member Functions

getProperty< T > (object key)
 Retrieve a property.
getProperty< T > (object key, T def)
getProperty< T > (object key, T def, bool loggued)
void setProperty (object key, object val)
 Set a property.
void removeProperty (object key)
 Remove a property.
List< string > getAllProperties ()
 List all properties.
void removeAllProperties ()
 Remove all properties.

Detailed Description

Holds properties of different types.


Member Function Documentation

List<string> DOL.GS.PropertyCollection.getAllProperties ( )

List all properties.

Returns:
T DOL.GS.PropertyCollection.getProperty< T > ( object  key)

Retrieve a property.

Parameters:
keykey
defdefault value
logguedloggued if the value is not found
Returns:
value in properties or default value if not found
void DOL.GS.PropertyCollection.removeAllProperties ( )

Remove all properties.

void DOL.GS.PropertyCollection.removeProperty ( object  key)

Remove a property.

Parameters:
keykey
void DOL.GS.PropertyCollection.setProperty ( object  key,
object  val 
)

Set a property.

Parameters:
keykey
valvalue

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events