Property | Type | Description | |
---|---|---|---|
keys |
Method | Description | |
---|---|---|
Add ( string key, string value ) : void | ||
ConfigBase ( string name, IConfigSource source ) : System | ||
Contains ( string key ) : bool | ||
Get ( string key ) : string | ||
Get ( string key, string defaultValue ) : string | ||
GetBoolean ( string key ) : bool | ||
GetBoolean ( string key, bool defaultValue ) : bool | ||
GetDouble ( string key ) : double | ||
GetDouble ( string key, double defaultValue ) : double | ||
GetExpanded ( string key ) : string | ||
GetFloat ( string key ) : float | ||
GetFloat ( string key, float defaultValue ) : float | ||
GetInt ( string key ) : int | ||
GetInt ( string key, bool fromAlias ) : int | ||
GetInt ( string key, int defaultValue ) : int | ||
GetInt ( string key, int defaultValue, bool fromAlias ) : int | ||
GetKeys ( ) : string[] | ||
GetLong ( string key ) : long | ||
GetLong ( string key, long defaultValue ) : long | ||
GetString ( string key ) : string | ||
GetString ( string key, string defaultValue ) : string | ||
GetValues ( ) : string[] | ||
Remove ( string key ) : void | ||
Set ( string key, object value ) : void |
Method | Description | |
---|---|---|
OnKeyRemoved ( |
||
OnKeySet ( |
Method | Description | |
---|---|---|
GetBooleanAlias ( string key ) : bool |
Returns the boolean alias first from this IConfig then the parent if there is none.
|
|
GetIntAlias ( string key, string alias ) : int |
Returns the integer alias first from this IConfig then the parent if there is none.
|
|
Rename ( string name ) : void |
Renames the config to the new name.
|
public Add ( string key, string value ) : void | ||
key | string | |
value | string | |
return | void |
public ConfigBase ( string name, IConfigSource source ) : System | ||
name | string | |
source | IConfigSource | |
return | System |
public Get ( string key, string defaultValue ) : string | ||
key | string | |
defaultValue | string | |
return | string |
public GetBoolean ( string key, bool defaultValue ) : bool | ||
key | string | |
defaultValue | bool | |
return | bool |
public GetDouble ( string key, double defaultValue ) : double | ||
key | string | |
defaultValue | double | |
return | double |
public GetFloat ( string key, float defaultValue ) : float | ||
key | string | |
defaultValue | float | |
return | float |
public GetInt ( string key, bool fromAlias ) : int | ||
key | string | |
fromAlias | bool | |
return | int |
public GetInt ( string key, int defaultValue ) : int | ||
key | string | |
defaultValue | int | |
return | int |
public GetInt ( string key, int defaultValue, bool fromAlias ) : int | ||
key | string | |
defaultValue | int | |
fromAlias | bool | |
return | int |
public GetLong ( string key, long defaultValue ) : long | ||
key | string | |
defaultValue | long | |
return | long |
public GetString ( string key, string defaultValue ) : string | ||
key | string | |
defaultValue | string | |
return | string |
protected OnKeyRemoved ( |
||
e | ||
return | void |
protected OnKeySet ( |
||
e | ||
return | void |
public Set ( string key, object value ) : void | ||
key | string | |
value | object | |
return | void |