C# 클래스 Mash.AppSettings.AppConfigSettingLoader

Loads the requested setting from the app configiguration file
상속: ISettingLoader
파일 보기 프로젝트 열기: drwill/mash

공개 메소드들

메소드 설명
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