|
static string | GetSettingOrDefault (string settingName, string defaultValue) |
| Return the string value of the setting in the applied .runsettings file or the passed in default. More...
|
|
static T | GetEnumSettingOrDefault< T > (string settingName, T defaultValue) |
| Return the Enum value parsed from the setting in the applied .runsettings file, or the passed in default. More...
|
|
static int | GetIntSettingOrDefault (string settingName, int defaultValue) |
| Return More...
|
|
static bool | GetBoolSettingOrDefault (string settingName, bool defaultValue) |
| Return the passed in default unless the setting in the applied .runsettings file is !default. More...
|
|
static T | GetConfigFromFileSystemIfPresent< T > (string filename, Environment.SpecialFolder fileLocation=Environment.SpecialFolder.MyDocuments) |
| Return the object deserialised from the given json file if present in the given folder More...
|
|
◆ GetBoolSettingOrDefault()
static bool AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.Utils.GetBoolSettingOrDefault |
( |
string |
settingName, |
|
|
bool |
defaultValue |
|
) |
| |
|
static |
Return the passed in default unless the setting in the applied .runsettings file is !default.
- Parameters
-
- Returns
◆ GetConfigFromFileSystemIfPresent< T >()
static T AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.Utils.GetConfigFromFileSystemIfPresent< T > |
( |
string |
filename, |
|
|
Environment.SpecialFolder |
fileLocation = Environment.SpecialFolder.MyDocuments |
|
) |
| |
|
static |
Return the object deserialised from the given json file if present in the given folder
- Template Parameters
-
- Parameters
-
- Returns
◆ GetEnumSettingOrDefault< T >()
static T AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.Utils.GetEnumSettingOrDefault< T > |
( |
string |
settingName, |
|
|
T |
defaultValue |
|
) |
| |
|
static |
Return the Enum value parsed from the setting in the applied .runsettings file, or the passed in default.
- Template Parameters
-
- Parameters
-
- Returns
◆ GetIntSettingOrDefault()
static int AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.Utils.GetIntSettingOrDefault |
( |
string |
settingName, |
|
|
int |
defaultValue |
|
) |
| |
|
static |
Return
- Parameters
-
- Returns
◆ GetSettingOrDefault()
static string AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.Utils.GetSettingOrDefault |
( |
string |
settingName, |
|
|
string |
defaultValue |
|
) |
| |
|
static |
Return the string value of the setting in the applied .runsettings file or the passed in default.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- AlexanderOnTest.WebDriverFactoryNunitConfig/TestSettings/Utils.cs