C# Класс Mash.AppSettings.AppConfigSettingLoader

Loads the requested setting from the app configiguration file
Наследование: ISettingLoader
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetConnectionString() публичный Метод

Loads the specified connection string
public GetConnectionString ( string connectionStringKey ) : string
connectionStringKey string The key of the connection string to load
Результат string

GetConnectionStrings() публичный Метод

Loads all connection strings from the config file
public GetConnectionStrings ( ) : string>.IDictionary
Результат string>.IDictionary

GetSetting() публичный Метод

Loads the specified setting
public GetSetting ( string settingKey ) : string
settingKey string The key of the setting to load
Результат string