C# Class BCR.GlobalSettings

Datei anzeigen Open project: jeroenwalter/ComicRackWeb

Public Methods

Method Description
GetBoolean ( string key, bool defaultValue ) : bool
GetInt32 ( string key, int defaultValue ) : int
GetString ( string key, string defaultValue ) : string
GlobalSettings ( ) : System
Initialize ( ) : void

Read global settings.

Save ( ) : void
Set ( string key, string value ) : void

Method Details

GetBoolean() public method

public GetBoolean ( string key, bool defaultValue ) : bool
key string
defaultValue bool
return bool

GetInt32() public method

public GetInt32 ( string key, int defaultValue ) : int
key string
defaultValue int
return int

GetString() public method

public GetString ( string key, string defaultValue ) : string
key string
defaultValue string
return string

GlobalSettings() public method

public GlobalSettings ( ) : System
return System

Initialize() public method

Read global settings.
public Initialize ( ) : void
return void

Save() public method

public Save ( ) : void
return void

Set() public method

public Set ( string key, string value ) : void
key string
value string
return void