|
Joutsen v0.5.0+12-g5dd5f7e
|
An interface for application wide configurations. More...
Public Member Functions | |
| String | GetValue (String key) |
| Fetches a value identified by a key as a string. More... | |
| ValueType | GetValue< ValueType > (String key) |
| Fetches a value identified by a key as a specific type. More... | |
| ValueType | GetValue< ValueType > (String key, SimpleTypeConverter< string, ValueType > converter) |
| Fetches a value identified by a key as a specific type. More... | |
| SectionType | GetSection< SectionType > (String sectionName) |
| Fetches a section from the configuration. More... | |
An interface for application wide configurations.
| SectionType Joutsen.Configuration.ApplicationConfiguration.GetSection< SectionType > | ( | String | sectionName | ) |
Fetches a section from the configuration.
| SectionType | : | global | |
| SectionType | : | System.Configuration.ConfigurationSection |
| String Joutsen.Configuration.ApplicationConfiguration.GetValue | ( | String | key | ) |
Fetches a value identified by a key as a string.
Implemented in Joutsen.Configuration.XmlApplicationConfiguration.
| ValueType Joutsen.Configuration.ApplicationConfiguration.GetValue< ValueType > | ( | String | key | ) |
Fetches a value identified by a key as a specific type.
| ValueType | : | IConvertible |
| ValueType Joutsen.Configuration.ApplicationConfiguration.GetValue< ValueType > | ( | String | key, |
| SimpleTypeConverter< string, ValueType > | converter | ||
| ) |
Fetches a value identified by a key as a specific type.
| key | the configuration key |
| converter | the converter used to convert the read string into a specific type |