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...
|
|
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>
Hake_WPF.Settings.Settings |
( |
| ) |
|
initializes settings. Reads settings.cfg.
void Hake_WPF.Settings.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 |
object Hake_WPF.Settings.Get |
( |
String |
key | ) |
|
Returns object from settings that is stored using given key.
- Parameters
-
- Returns
- Object that is stored
void Hake_WPF.Settings.Remove |
( |
String |
key | ) |
|
Removed object with given key.
- Parameters
-
bool Hake_WPF.Settings.Save |
( |
| ) |
|
Save the settings to settings.cfg if its not in use.
- Returns
- True if no exceptions catched
const String Hake_WPF.Settings.ENDPOINTADDRESS = "endpointAddress" |
const String Hake_WPF.Settings.GRAPHBACKGROUNDCOLOR = "graphBackgroundColor" |
const String Hake_WPF.Settings.GRAPHLINECOLOR = "graphLineColor" |
const String Hake_WPF.Settings.NEWURGENTSTATECOLOR = "newUrgentStateColor" |
The documentation for this class was generated from the following file: