User can store object that they specifie with key. User can add, update, get and remove those objects using the key.
More...
|
| Settings () |
| initializes settings. Reads settings.cfg. More...
|
|
void | AddOrUpdate (String key, object obj) |
| Adds or update object with given key. More...
|
|
void | Remove (String key) |
| Removed object with given key. More...
|
|
object | Get (String key) |
| Returns object from settings that is stored using given key. More...
|
|
bool | Save () |
| Save the settings to settings.cfg if its not in use. More...
|
|
|
const String | ENDPOINTADDRESS = "endpointAddress" |
|
const String | NEWURGENTSTATECOLOR = "newUrgentStateColor" |
|
const String | GRAPHLINECOLOR = "graphLineColor" |
|
const String | GRAPHBACKGROUNDCOLOR = "graphBackgroundColor" |
|
User can store object that they specifie with key. User can add, update, get and remove those objects using the key.
<author>Atte Söderlund</author>
initializes settings. Reads settings.cfg.
void AddOrUpdate |
( |
String |
key, |
|
|
object |
obj |
|
) |
| |
Adds or update object with given key.
- Parameters
-
key | String that specifies the object |
obj | what you want to store |
Returns object from settings that is stored using given key.
- Parameters
-
- Returns
- Object that is stored
void Remove |
( |
String |
key | ) |
|
Removed object with given key.
- Parameters
-
Save the settings to settings.cfg if its not in use.
- Returns
- True if no exceptions catched
The documentation for this class was generated from the following file: