C# Class Drey.Configuration.Services.ApplicationSettingsService

Inheritance: System.MarshalByRefObject, IApplicationSettings
Show file Open project: dealproc/Drey

Public Methods

Method 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 method

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.
return Drey.Nut

Exists() public method

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

Register() public method

Registers an application setting with the underlying repository.
public Register ( string key, string value = "" ) : void
key string The key.
value string The value.
return void

this() public method

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