|
static T | EnvVariable< T > (string name, T defaultValue) |
| Resolve the environment variable if it exists, or use the default value.
|
|
Definition at line 5 of file Configuration.cs.
◆ EnvVariable< T >()
static T AnalyzeReTesting.Utilities.Configuration.EnvVariable< T > |
( |
string |
name, |
|
|
T |
defaultValue |
|
) |
| |
|
inlinestatic |
Resolve the environment variable if it exists, or use the default value.
- Template Parameters
-
T | The type to convert the environment variable value to. |
- Parameters
-
name | The name of the environment variable. |
defaultValue | The default value to use if the environment variable is not set. |
- Returns
- The value of the environment variable if set, or the default.
Definition at line 12 of file Configuration.cs.
The documentation for this class was generated from the following file: