C# Class Mash.AppSettings.AppConfigSettingLoader

Loads the requested setting from the app configiguration file
Inheritance: ISettingLoader
Show file Open project: drwill/mash

Public Methods

Method Description
GetConnectionString ( string connectionStringKey ) : string

Loads the specified connection string

GetConnectionStrings ( ) : string>.IDictionary

Loads all connection strings from the config file

GetSetting ( string settingKey ) : string

Loads the specified setting

Method Details

GetConnectionString() public method

Loads the specified connection string
public GetConnectionString ( string connectionStringKey ) : string
connectionStringKey string The key of the connection string to load
return string

GetConnectionStrings() public method

Loads all connection strings from the config file
public GetConnectionStrings ( ) : string>.IDictionary
return string>.IDictionary

GetSetting() public method

Loads the specified setting
public GetSetting ( string settingKey ) : string
settingKey string The key of the setting to load
return string