Method | Description | |
---|---|---|
ConfigFileDao ( string filePath ) : System |
ConfigFileDao constructor
|
|
getAllValues ( ) : Dictionary |
Get all config file values
|
|
getValue ( string key, string section ) : string |
Seek out a config file value
|
|
removeFromFile ( string key, string section ) : void |
Remove a configuration item from the config file
|
|
updateValue ( string key, string value, string section ) : void |
Update or add a key and value to the config file
|
|
writeToFile ( string>.Dictionary |
Write a dictionary of config/value pairs to the config file
|
public ConfigFileDao ( string filePath ) : System | ||
filePath | string | The full path to the config file |
return | System |
public getValue ( string key, string section ) : string | ||
key | string | The config file key |
section | string | |
return | string |
public removeFromFile ( string key, string section ) : void | ||
key | string | The config item key |
section | string | |
return | void |
public updateValue ( string key, string value, string section ) : void | ||
key | string | Config key |
value | string | Config value |
section | string | Config section |
return | void |
public writeToFile ( string>.Dictionary |
||
kvps | string>.Dictionary | List of Key/Value pairs |
return | void |