메소드 | 설명 | |
---|---|---|
Add ( IConfigurationSection section ) : void |
Adds a named configuration section to this source. If the section name is already in this source, the values from the new source will override and be added.
|
|
Clear ( ) : void |
Clears the sections and sources of this instance.
|
|
ExpandKeyValues ( ) : void |
Processes all sections expanding configuration variables and saving the new values.
|
|
GetEnumerator ( ) : IEnumerator |
Returns an enumerator that iterates through the collection.
|
|
Merge ( ) : void |
Merges the sources into this instance. Each source's sections will be added and merged. If the sources contain duplicate sections, they will be merged.
|
|
Reload ( ) : void |
Discards all sections and merged sources and reloads a fresh set of settings.
|
|
Save ( ) : void |
Saves all sections. All data merged from other merged sources will be included.
|
메소드 | 설명 | |
---|---|---|
AbstractConfigurationSource ( ) : System |
Initializes a new instance of the AbstractConfigurationSource class.
|
|
OnPropertyChanged ( string section, string key ) : void |
Called when [property changed].
|
메소드 | 설명 | |
---|---|---|
Expand ( IConfigurationSection section, string key ) : string | ||
ExpandValue ( IConfigurationSection section, string search ) : string | ||
GetResultFromCurrentSection ( string keyName, IConfigurationSection section ) : string | ||
GetResultFromExternalSection ( string sectionName, string keyName ) : string | ||
IEnumerable ( ) : IEnumerator |
Returns an enumerator that iterates through a collection.
|
|
MergeSectionIntoSource ( IConfigurationSection section ) : void |
public Add ( IConfigurationSection section ) : void | ||
section | IConfigurationSection | The named section to add. |
리턴 | void |
protected OnPropertyChanged ( string section, string key ) : void | ||
section | string | The section. |
key | string | The key. |
리턴 | void |