C# Class Drey.Configuration.Services.ApplicationSettingsService

Inheritance: System.MarshalByRefObject, IApplicationSettings
Afficher le fichier Open project: dealproc/Drey

Méthodes publiques

Méthode Description
ApplicationSettingsService ( string packageId, Repositories packageSettingsRepository ) : Drey.Nut

Initializes a new instance of the ApplicationSettingsService class.

Exists ( string key ) : bool

Checks to see if an application setting exists within the underlying repository, by its key.

Register ( string key, string value = "" ) : void

Registers an application setting with the underlying repository.

this ( string key ) : string

Gets the System.String with the specified key.

Method Details

ApplicationSettingsService() public méthode

Initializes a new instance of the ApplicationSettingsService class.
public ApplicationSettingsService ( string packageId, Repositories packageSettingsRepository ) : Drey.Nut
packageId string The package identifier.
packageSettingsRepository Repositories The package settings repository.
Résultat Drey.Nut

Exists() public méthode

Checks to see if an application setting exists within the underlying repository, by its key.
public Exists ( string key ) : bool
key string The key.
Résultat bool

Register() public méthode

Registers an application setting with the underlying repository.
public Register ( 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