Class EnvironmentVariableSource
Singleton class that holds the property of type IEnvironmentVariableRetreiver. This property can hold an instance of type EnvironmentVariableRetreiver which has a wrapper method for public static string GetEnvironmentVariable(string variable) or can be mocked for testing purposes.
public sealed class EnvironmentVariableSource
- Inheritance
-
EnvironmentVariableSource
- Inherited Members
Properties
EnvironmentVariableRetriever
public IEnvironmentVariableRetriever EnvironmentVariableRetriever { get; set; }
Property Value
Instance
public static EnvironmentVariableSource Instance { get; }