Method | Description | |
---|---|---|
Config ( ) : System |
Default constructor will give a blank configuration path and section, it will try and determine a the config path and choose the first valid section it can find.
|
|
Config ( bool allowValueInheritance ) : System | ||
Config ( string configurationPath, bool allowValueInheritance = true ) : System |
Constructor with the full configuration path given.
|
|
Config ( string pathToConfigFile, string configurationPath ) : System |
Constructor with the full configuration path given.
|
|
Config ( string pathToConfigFile, string configurationPath, bool allowValueInheritance ) : System | ||
ContainsKey ( string sectionName ) : bool |
Determines if the loader has a config section by the given name.
|
|
CreateConfigKey ( ) : void | ||
DecryptConfigurationSection ( ) : void | ||
DecryptConfigurationSection ( string sectionName ) : void | ||
DecryptConfigurationSection ( string configPath, string sectionName ) : void |
This method is used to decrypt the particular section of the application config
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
EncryptConfigurationSection ( ) : void | ||
EncryptConfigurationSection ( string sectionName ) : void | ||
GetSection ( string sectionName ) : ConfigSection |
Get the config section by the name attribute.
|
Method | Description | |
---|---|---|
CreateConfigurationLoaderObject ( string pathToConfigFile, string configPath, bool allowValueInheritance ) : bool |
creates the configurationLoader for the given path.
|
|
DetermineConfigurationPath ( string pathToConfigFile ) : IEnumerable |
Tries to find all valid configuration section / group paths that are valid for this loader.
|
|
DetermineValidSectionElements ( |
Looks at the given iterator and tries to find any valid section groups that match the regex given for the config transform type.
|
|
DetermineValidSectionGroups ( |
tries to find any valid section groups which contain the correct section to match the regex given for the transform type.
|
|
EncryptConfigurationSection ( string configPath, string sectionName ) : void |
This method is used to encrypt the particular section in the application config
|
|
FindConfigFileLocation ( string pathToConfigFile ) : string | ||
GetConfiguration ( string configPath ) : |
||
GetConfigurationSection ( string sectionName, |
||
SetIndexesForConfigGroupCollectionRecursively ( |
||
SetIndexesForConfigGroupElementRecursively ( |
public Config ( bool allowValueInheritance ) : System | ||
allowValueInheritance | bool | |
return | System |
public Config ( string configurationPath, bool allowValueInheritance = true ) : System | ||
configurationPath | string | The xml path in the config file. |
allowValueInheritance | bool | |
return | System |
public Config ( string pathToConfigFile, string configurationPath ) : System | ||
pathToConfigFile | string | |
configurationPath | string | The xml path in the config file. |
return | System |
public Config ( string pathToConfigFile, string configurationPath, bool allowValueInheritance ) : System | ||
pathToConfigFile | string | |
configurationPath | string | |
allowValueInheritance | bool | |
return | System |
public ContainsKey ( string sectionName ) : bool | ||
sectionName | string | |
return | bool |
public DecryptConfigurationSection ( ) : void | ||
return | void |
public DecryptConfigurationSection ( string sectionName ) : void | ||
sectionName | string | |
return | void |
public DecryptConfigurationSection ( string configPath, string sectionName ) : void | ||
configPath | string | file path the configuration file. |
sectionName | string | Section to encrypt |
return | void |
public EncryptConfigurationSection ( ) : void | ||
return | void |
public EncryptConfigurationSection ( string sectionName ) : void | ||
sectionName | string | |
return | void |
public GetSection ( string sectionName ) : ConfigSection | ||
sectionName | string | |
return | ConfigSection |