|
abstract string | GetSetting (string settingname) |
| Retrieves the specified setting from the current settings source. More...
|
|
virtual bool | GetBooleanSetting (string settingname) |
| Retrieves the specified boolean setting from the current settings source. More...
|
|
virtual long | GetIntegerSetting (string settingname) |
| Retrieves the specified integer setting from the current settings source. If the specific setting is not specified in the configuration then 0 is returned. More...
|
|
virtual long | GetIntegerSetting (string settingname, long defaultvalue) |
| Retrieves the specified integer setting from the current settings source. More...
|
|
abstract string | GetSetting (string settingname) |
| Retrieves the specified setting from the current settings source. More...
|
|
virtual bool | GetBooleanSetting (string settingname) |
| Retrieves the specified boolean setting from the current settings source. More...
|
|
virtual long | GetIntegerSetting (string settingname) |
| Retrieves the specified integer setting from the current settings source. If the specific setting is not specified in the configuration then 0 is returned. More...
|
|
virtual long | GetIntegerSetting (string settingname, long defaultvalue) |
| Retrieves the specified integer setting from the current settings source. More...
|
|
|
bool | ToBoolean (string strsetting) |
| Converts a string representation of a boolean setting to boolean. Strings "true", "yes" and "on" (regardless of capitalization) or non-zero integer representations result to true, anything else (including null or empty string) result in false. More...
|
|
long | ToInt (string strsetting) |
| Converts a string representation of an integer setting to an integer value. If the setting is not defined then 0 is returned. More...
|
|
long | ToInt (string strsetting, long defaultvalue) |
| Converts a string representation of an integer setting to an integer value. More...
|
|
abstract string IG.Lib.SettingsReaderBase.GetSetting |
( |
string |
settingname | ) |
|
|
pure virtual |
virtual bool IG.Lib.SettingsReaderBase.GetBooleanSetting |
( |
string |
settingname | ) |
|
|
inlinevirtual |
virtual long IG.Lib.SettingsReaderBase.GetIntegerSetting |
( |
string |
settingname | ) |
|
|
inlinevirtual |
virtual long IG.Lib.SettingsReaderBase.GetIntegerSetting |
( |
string |
settingname, |
|
|
long |
defaultvalue |
|
) |
| |
|
inlinevirtual |
Retrieves the specified integer setting from the current settings source.
- Parameters
-
settingname | Setting name. |
defaultvalue | Value returned in the case that the correspondig setting is not defined. |
References IG.Lib.UtilStr.ToInt().
abstract string IG.Lib.SettingsReaderBase.GetSetting |
( |
string |
settingname | ) |
|
|
pure virtual |
virtual bool IG.Lib.SettingsReaderBase.GetBooleanSetting |
( |
string |
settingname | ) |
|
|
inlinevirtual |
Retrieves the specified boolean setting from the current settings source.
- Parameters
-
virtual long IG.Lib.SettingsReaderBase.GetIntegerSetting |
( |
string |
settingname | ) |
|
|
inlinevirtual |
Retrieves the specified integer setting from the current settings source. If the specific setting is not specified in the configuration then 0 is returned.
- Parameters
-
virtual long IG.Lib.SettingsReaderBase.GetIntegerSetting |
( |
string |
settingname, |
|
|
long |
defaultvalue |
|
) |
| |
|
inlinevirtual |
Retrieves the specified integer setting from the current settings source.
- Parameters
-
settingname | Setting name. |
defaultvalue | Value returned in the case that the correspondig setting is not defined. |
bool IG.Lib.SettingsReaderBase.ToBoolean |
( |
string |
strsetting | ) |
|
|
inlineprotected |
Converts a string representation of a boolean setting to boolean. Strings "true", "yes" and "on" (regardless of capitalization) or non-zero integer representations result to true, anything else (including null or empty string) result in false.
- Parameters
-
strsetting | String representation of the specific setting. |
- Returns
- Boolean value corresponding to the setting.
long IG.Lib.SettingsReaderBase.ToInt |
( |
string |
strsetting | ) |
|
|
inlineprotected |
Converts a string representation of an integer setting to an integer value. If the setting is not defined then 0 is returned.
- Parameters
-
strsetting | String representation of the specific setting. |
- Returns
- Long integer value corresponding to the setting.
long IG.Lib.SettingsReaderBase.ToInt |
( |
string |
strsetting, |
|
|
long |
defaultvalue |
|
) |
| |
|
inlineprotected |
Converts a string representation of an integer setting to an integer value.
- Parameters
-
strsetting | String representation of the specific setting. |
defaultvalue | Default value returned in the case that the setting is not defined. |
- Returns
- Long integer value corresponding to the setting.
object IG.Lib.SettingsReaderBase.lockobj = new object() |
|
private |
bool IG.Lib.SettingsReaderBase._expandEnv = true |
|
protected |
object IG.Lib.SettingsReaderBase.Lock |
|
get |
bool IG.Lib.SettingsReaderBase.ExpandEnvironmentVariables |
|
getset |
The documentation for this class was generated from the following file: