SettingsTools Class
Global variables/functions for settings access
Inheritance Hierarchy
- System.Object
- DBaddin.SettingsTools
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)
Syntax
public sealed class SettingsTools
The SettingsTools type exposes the following members.
Methods
Name | Summary | |
---|---|---|
![]() | env(Boolean) | environment for settings (+1 of selected Environment which is the index of the dropdown, if baseZero is set then simply the index) |
![]() | fetchSetting(String, String) | encapsulates setting fetching (currently ConfigurationManager from DBAddin.xll.config), use only for strings. For Integer and Boolean use fetchSettingInt and fetchSettingBool |
![]() | fetchSettingBool(String, String) | exception proof fetching of boolean settings |
![]() | fetchSettingInt(String, String) | exception proof fetching of integer settings |
![]() | initSettings() | initializes global configuration variables |
![]() | setUserSetting(String, String) | change or add a key/value pair in the user settings |
Fields
Name | Description | |
---|---|---|
![]() | CmdTimeout | global command timeout (can't be set in DB functions) |
![]() | CnnTimeout | global connection timeout (can't be set in DB functions) |
![]() | ConstConnString | Default ConnectionString, if no connection string is given by user.... |
![]() | DefaultDBDateFormatting | default formatting style used in DBDate |
![]() | deleteRowKey | the configurable shortcut for the delete row key (default ^D) |
![]() | environdefs | environment definitions |
![]() | insertRowKey | the configurable shortcut for the insert row key (default ^I) |
![]() | jumpButtonKey | the configurable shortcut for the jump button key (default ^J) |
![]() | refreshDataKey | the configurable shortcut for the refresh data key (default ^R) |
![]() | selectedEnvironment | currently selected environment for DB Functions, zero based (env -1) !! |
![]() | UserSettingsPath | The path where the User specific settings (overrides of standard/global settings) can be found (hard-coded to path of xll) |