C# Class Drey.Configuration.Repositories.SQLiteRepositories.GlobalSettingsRepository

Inheritance: SqlRepository, IGlobalSettingsRepository
Afficher le fichier Open project: dealproc/Drey

Méthodes publiques

Méthode Description
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.

Method Details

GetSetting() public méthode

Gets the setting.
public GetSetting ( string key ) : string
key string The key.
Résultat string

GlobalSettingsRepository() public méthode

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

GlobalSettingsRepository() public méthode

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

SaveSetting() public méthode

Saves the setting.
public SaveSetting ( string key, string value ) : void
key string The key.
value string The value.
Résultat void

this() public méthode

Gets the System.String with the specified key.
public this ( string key ) : string
key string The key.
Résultat string