C# Class Mash.AppSettings.AppConfigSettingLoader

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

Méthodes publiques

Méthode 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 méthode

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

GetConnectionStrings() public méthode

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

GetSetting() public méthode

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