IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Lib.SettingsReaderAppConfig Class Reference

Provides functionality for retrieving settings from various sources such as application settings file. More...

+ Inheritance diagram for IG.Lib.SettingsReaderAppConfig:
+ Collaboration diagram for IG.Lib.SettingsReaderAppConfig:

Public Member Functions

override string GetSetting (string settingname)
 Retrieves the specified setting from the current settings source. More...
 
override string GetSetting (string settingname)
 Retrieves the specified setting from the current settings source. More...
 
- Public Member Functions inherited from IG.Lib.SettingsReaderBase
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...
 
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...
 

Protected Member Functions

virtual string GetSettingAppConfig (string settingname)
 
virtual string GetSettingAppConfig (string settingname)
 
- Protected Member Functions inherited from IG.Lib.SettingsReaderBase
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...
 

Additional Inherited Members

- Protected Attributes inherited from IG.Lib.SettingsReaderBase
bool _expandEnv = true
 
- Properties inherited from IG.Lib.SettingsReaderBase
object Lock [get]
 ILockable.Lock, gets a public lock for the current object. More...
 
virtual bool ExpandEnvironmentVariables [get, set]
 
- Properties inherited from IG.Lib.ILockable
object Lock [get]
 

Detailed Description

Provides functionality for retrieving settings from various sources such as application settings file.

$A Igor Apr10;

Member Function Documentation

override string IG.Lib.SettingsReaderAppConfig.GetSetting ( string  settingname)
inlinevirtual

Retrieves the specified setting from the current settings source.

Parameters
settingnameSetting name.

Implements IG.Lib.SettingsReaderBase.

Referenced by LabexBis.BisCommunicationSettings.getsettings().

virtual string IG.Lib.SettingsReaderAppConfig.GetSettingAppConfig ( string  settingname)
inlineprotectedvirtual
override string IG.Lib.SettingsReaderAppConfig.GetSetting ( string  settingname)
inlinevirtual

Retrieves the specified setting from the current settings source.

Parameters
settingnameSetting name.

Implements IG.Lib.SettingsReaderBase.

virtual string IG.Lib.SettingsReaderAppConfig.GetSettingAppConfig ( string  settingname)
inlineprotectedvirtual

The documentation for this class was generated from the following file: