C# Класс Drey.Configuration.Repositories.SQLiteRepositories.GlobalSettingsRepository

Наследование: SqlRepository, IGlobalSettingsRepository
Показать файл Открыть проект

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

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