ConfigDictionary

A ConfigDictionary contains the configuration tree and facilities to get values from that tree.

Constructors

this
this(SubstituteEnvironmentVariables substituteEnvironmentVariables, SubstituteConfigVariables substituteConfigVariables)
Undocumented in source.
this
this(ConfigNode rootNode, SubstituteEnvironmentVariables substituteEnvironmentVariables, SubstituteConfigVariables substituteConfigVariables)
Undocumented in source.

Members

Functions

get
string get(string configPath, string defaultValue)

Get values from the configuration using config path notation.

get
ConvertToType get(string configPath)

Get values from the configuration and attempts to convert them to the specified type.

get
ConvertToType get(string configPath, ConvertToType defaultValue)

Get values from the configuration and attempts to convert them to the specified type.

getConfig
ConfigDictionary getConfig(string configPath)

Fetch a sub-section of the config as another config.

set
void set(string configPath, string value)

Assign a value at the given path.

Variables

rootNode
ConfigNode rootNode;
Undocumented in source.
substituteConfigVariables
SubstituteConfigVariables substituteConfigVariables;
Undocumented in source.
substituteEnvironmentVariables
SubstituteEnvironmentVariables substituteEnvironmentVariables;
Undocumented in source.

Meta