Method | Description | |
---|---|---|
Load ( XmlReader reader ) : void | ||
Load ( string path ) : void | ||
Reload ( ) : void | ||
Save ( ) : void | ||
Save ( Stream stream ) : void | ||
Save ( |
||
Save ( string path ) : void | ||
ToString ( ) : string | ||
XmlConfigSource ( ) : System | ||
XmlConfigSource ( XmlReader reader ) : System | ||
XmlConfigSource ( string path ) : System |
Method | Description | |
---|---|---|
CreateKey ( |
Creates a key node and adds it to the collection at the end.
|
|
GetKeyByName ( |
Returns a key node by name.
|
|
GetSectionByName ( string name ) : |
Returns a section node by name.
|
|
IsSavable ( ) : bool |
Returns true if this instance is savable.
|
|
LoadKeys ( |
Loads all keys for a config.
|
|
LoadSections ( |
Loads all configuration sections.
|
|
MergeConfigsIntoDocument ( ) : void |
Merges all of the configs from the config collection into the XmlDocument.
|
|
MergeDocumentIntoConfigs ( ) : void |
Merges the XmlDocument into the Configs when the document is reloaded.
|
|
PerformLoad ( |
Loads all sections and keys.
|
|
RemoveConfigKeys ( IConfig config ) : void |
Removes all XML keys that were removed as config keys.
|
|
RemoveConfigs ( ) : void |
Removes all configs that are not in the newly loaded XmlDocument.
|
|
RemoveKeys ( string sectionName ) : void |
Removes all XML keys that were removed as config keys.
|
|
RemoveSections ( ) : void |
Removes all XML sections that were removed as configs.
|
|
SectionNode ( string name ) : |
Returns a new section node.
|
|
SetKey ( |
Sets an XML key. If it does not exist then it is created.
|
public Save ( |
||
writer | ||
return | void |
public XmlConfigSource ( XmlReader reader ) : System | ||
reader | XmlReader | |
return | System |
public XmlConfigSource ( string path ) : System | ||
path | string | |
return | System |