C# Class Drey.AppConfigApplicationSettings

Allows access to the app.config application settings
Inheritance: System.MarshalByRefObject, IApplicationSettings, IGlobalSettings
Mostra file Open project: dealproc/Drey Class Usage Examples

Public Methods

Method Description
Exists ( string key ) : bool

Check to see if a given key exists within the application settings.

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

Registers an application key/value pair.

this ( string key ) : string

Gets the application setting associated with the key.

Method Details

Exists() public method

Check to see if a given key exists within the application settings.
public Exists ( string key ) : bool
key string The key.
return bool

Register() public method

Registers an application key/value pair.
public Register ( string key, string value = "" ) : void
key string The key.
value string The value.
return void

this() public method

Gets the application setting associated with the key.
public this ( string key ) : string
key string The key.
return string