C# Class Presently.Utils.Config

Description of Config.
Mostra file Open project: intridea/presently-winmo

Public Methods

Method Description
AddSetting ( string key, object value ) : void
Config ( ) : System
GetBool ( string key ) : bool
GetInt32 ( string key ) : int
GetString ( string key ) : string
Load ( ) : void
Save ( ) : void
SetValue ( string key, object o ) : void

Private Methods

Method Description
Escape ( String s ) : string
WriteNewConfig ( ) : void

Method Details

AddSetting() public static method

public static AddSetting ( string key, object value ) : void
key string
value object
return void

Config() public method

public Config ( ) : System
return System

GetBool() public static method

public static GetBool ( string key ) : bool
key string
return bool

GetInt32() public static method

public static GetInt32 ( string key ) : int
key string
return int

GetString() public static method

public static GetString ( string key ) : string
key string
return string

Load() public static method

public static Load ( ) : void
return void

Save() public static method

public static Save ( ) : void
return void

SetValue() public static method

public static SetValue ( string key, object o ) : void
key string
o object
return void