Public Member Functions | |
string | GetProperty (string key) |
Retrieves the string value of a given key. | |
int | GetPropertyAsInt (string key) |
Retrieves the integer value of a given key. | |
int | GetPropertyAsIntWithDefault (string key, int value) |
Retrieves the integer of a given key but will return a default integer if that key doesn't exist. | |
string | GetPropertyWithDefault (string key, string value) |
Retrieves the value of a given key but will return a default if that key doesn't exist. |
string GetProperty | ( | string | key | ) |
Retrieves the string value of a given key.
key | The key to get the string value of. |
Exception | If an underlying method throws an exception, it will be wrapped and thrown as a Exception. |
int GetPropertyAsInt | ( | string | key | ) |
Retrieves the integer value of a given key.
key | The key to get the integer value of. |
Exception | If an underlying method throws an exception, it will be wrapped and thrown as a Exception. |
int GetPropertyAsIntWithDefault | ( | string | key, | |
int | value | |||
) |
Retrieves the integer of a given key but will return a default integer if that key doesn't exist.
key | The key to get the integer value of | |
value | The default integer value to return if the key doesn't exist |
Exception | If an underlying method throws an exception, it will be wrapped and thrown as a Exception. |
string GetPropertyWithDefault | ( | string | key, | |
string | value | |||
) |
Retrieves the value of a given key but will return a default if that key doesn't exist.
key | The key to get the value of | |
value | The default value to return if the key doesn't exist |
Exception | If an underlying method throws an exception, it will be wrapped and thrown as a Exception. |