Method | Description | |
---|---|---|
DotNetConfigSource ( ) : System | ||
DotNetConfigSource ( XmlReader reader ) : System | ||
DotNetConfigSource ( string sections ) : System | ||
GetFullConfigPath ( ) : string | ||
Load ( XmlReader reader ) : void | ||
Load ( string path ) : void | ||
Reload ( ) : void | ||
Save ( ) : void | ||
Save ( Stream stream ) : void | ||
Save ( |
||
Save ( string path ) : void | ||
ToString ( ) : string |
Method | Description | |
---|---|---|
CreateKey ( |
Creates a key node and adds it to the collection at the end.
|
|
GetChildElement ( |
Returns the single named child element.
|
|
GetChildElement ( string name ) : |
Returns a child element from the XmlDocument.DocumentElement.
|
|
GetKey ( |
Gets an XML key by it's name. Returns null if it does not exist.
|
|
IsSavable ( ) : bool |
Returns true if this instance is savable.
|
|
Load ( ) : void |
Loads all collection classes.
|
|
LoadCollection ( string name, |
Loads a collection class.
|
|
LoadKeys ( |
Loads all keys for a config.
|
|
LoadOtherSection ( |
Loads special sections that are not loaded in the configSections node. This includes such sections such as appSettings.
|
|
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 DotNetConfigSource ( XmlReader reader ) : System | ||
reader | XmlReader | |
return | System |
public DotNetConfigSource ( string sections ) : System | ||
sections | string | |
return | System |
public Save ( |
||
writer | ||
return | void |