C# 클래스 Drey.Configuration.Repositories.SQLiteRepositories.GlobalSettingsRepository

상속: SqlRepository, IGlobalSettingsRepository
파일 보기 프로젝트 열기: dealproc/Drey

공개 메소드들

메소드 설명
GetSetting ( string key ) : string

Gets the setting.

GlobalSettingsRepository ( INutConfiguration configurationManager ) : Dapper

Initializes a new instance of the GlobalSettingsRepository class. Used by IoC container.

GlobalSettingsRepository ( string databaseNameAndPath ) : Dapper

Initializes a new instance of the GlobalSettingsRepository class. Used for integration testing.

SaveSetting ( string key, string value ) : void

Saves the setting.

this ( string key ) : string

Gets the System.String with the specified key.

메소드 상세

GetSetting() 공개 메소드

Gets the setting.
public GetSetting ( string key ) : string
key string The key.
리턴 string

GlobalSettingsRepository() 공개 메소드

Initializes a new instance of the GlobalSettingsRepository class. Used by IoC container.
public GlobalSettingsRepository ( INutConfiguration configurationManager ) : Dapper
configurationManager INutConfiguration The configuration manager.
리턴 Dapper

GlobalSettingsRepository() 공개 메소드

Initializes a new instance of the GlobalSettingsRepository class. Used for integration testing.
public GlobalSettingsRepository ( string databaseNameAndPath ) : Dapper
databaseNameAndPath string The database name and path.
리턴 Dapper

SaveSetting() 공개 메소드

Saves the setting.
public SaveSetting ( string key, string value ) : void
key string The key.
value string The value.
리턴 void

this() 공개 메소드

Gets the System.String with the specified key.
public this ( string key ) : string
key string The key.
리턴 string