Method | Description | |
---|---|---|
Add ( string settingName, bool value ) : void |
Adds a specified boolean to the settings list.
|
|
Add ( string settingName, byte value ) : void |
Adds a specified byte array to the settings list.
|
|
Add ( string settingName, int value ) : void |
Adds a specified integer to the settings list.
|
|
Add ( string settingName, string value ) : void |
Adds a specified string to the settings list.
|
|
FindBoolean ( string settingName, bool defaultValue ) : bool |
Finds the T:System.Boolean value for the specified setting.
|
|
FindByteArray ( string settingName, byte defaultValue ) : byte[] |
Finds the array of T:System.Byte values for the specified setting.
|
|
FindString ( string settingName, string defaultValue ) : string |
Finds the T:System.String value for the specified setting.
|
|
RuleSettingsHelper ( ) : System |
Initializes a new instance of the T:Stumps.RuleSettingsHelper class.
|
|
RuleSettingsHelper ( IEnumerable |
Initializes a new instance of the T:Stumps.RuleSettingsHelper class.
|
|
ToEnumerableList ( ) : IEnumerable |
Gets an enumearable list of the T:Stumps.RuleSetting objects.
|
Method | Description | |
---|---|---|
AddOrUpdateSetting ( string settingName, string value ) : void |
Adds or udpates the value of a setting.
|
|
FindInteger ( string settingName, int defaultValue ) : int | ||
FindSettingValue ( string settingName ) : string |
Finds a specified value from the dictionary. A |
public Add ( string settingName, bool value ) : void | ||
settingName | string | The name of the setting. |
value | bool | The value of the setting. |
return | void |
public Add ( string settingName, byte value ) : void | ||
settingName | string | The name of the setting. |
value | byte | The value of the setting. |
return | void |
public Add ( string settingName, int value ) : void | ||
settingName | string | The name of the setting. |
value | int | The value of the setting. |
return | void |
public Add ( string settingName, string value ) : void | ||
settingName | string | The name of the setting. |
value | string | The value of the setting. |
return | void |
public FindBoolean ( string settingName, bool defaultValue ) : bool | ||
settingName | string | The name of the setting. |
defaultValue | bool | The default value of the setting if it is not found. |
return | bool |
public FindByteArray ( string settingName, byte defaultValue ) : byte[] | ||
settingName | string | The name of the setting. |
defaultValue | byte | The default value of the setting if it is not found. |
return | byte[] |
public FindString ( string settingName, string defaultValue ) : string | ||
settingName | string | The name of the setting. |
defaultValue | string | The default value of the setting if it is not found. |
return | string |
public RuleSettingsHelper ( IEnumerable |
||
settings | IEnumerable |
An enumerable collection of |
return | System |