C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
AnalyzeReTesting.Utilities.Configuration Class Reference

Static Public Member Functions

static T EnvVariable< T > (string name, T defaultValue)
 Resolve the environment variable if it exists, or use the default value.
 

Detailed Description

Definition at line 5 of file Configuration.cs.

Member Function Documentation

◆ EnvVariable< T >()

static T AnalyzeReTesting.Utilities.Configuration.EnvVariable< T > ( string  name,
defaultValue 
)
inlinestatic

Resolve the environment variable if it exists, or use the default value.

Template Parameters
TThe type to convert the environment variable value to.
Parameters
nameThe name of the environment variable.
defaultValueThe 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: