C# Class SphereStudio.IniSettings

Inheritance: ISettings
Afficher le fichier Open project: Radnen/spherestudio Class Usage Examples

Méthodes publiques

Méthode Description
GetBoolean ( string key, bool defValue ) : bool
GetFloat ( string key, double defValue ) : double
GetInteger ( string key, int defValue ) : int
GetString ( string key, string defValue ) : string
GetStringArray ( string key, string defValues ) : string[]
IniSettings ( IniFile ini, string section ) : System
Save ( ) : bool
SaveAs ( string filepath ) : bool
SetValue ( string key, object value ) : void

Method Details

GetBoolean() public méthode

public GetBoolean ( string key, bool defValue ) : bool
key string
defValue bool
Résultat bool

GetFloat() public méthode

public GetFloat ( string key, double defValue ) : double
key string
defValue double
Résultat double

GetInteger() public méthode

public GetInteger ( string key, int defValue ) : int
key string
defValue int
Résultat int

GetString() public méthode

public GetString ( string key, string defValue ) : string
key string
defValue string
Résultat string

GetStringArray() public méthode

public GetStringArray ( string key, string defValues ) : string[]
key string
defValues string
Résultat string[]

IniSettings() public méthode

public IniSettings ( IniFile ini, string section ) : System
ini IniFile
section string
Résultat System

Save() public méthode

public Save ( ) : bool
Résultat bool

SaveAs() public méthode

public SaveAs ( string filepath ) : bool
filepath string
Résultat bool

SetValue() public méthode

public SetValue ( string key, object value ) : void
key string
value object
Résultat void