Class EnvironmentVariableRetriever
Wrapper class which invokes the static method public static string GetEnvironmentVariable(string variable) underneath. This class is added as a property on the singleton class EnvironmentVariableSource. This change was done for testability.
public sealed class EnvironmentVariableRetriever : IEnvironmentVariableRetriever
- Inheritance
-
EnvironmentVariableRetriever
- Implements
- Inherited Members
Constructors
EnvironmentVariableRetriever()
public EnvironmentVariableRetriever()
Methods
GetEnvironmentVariable(string)
public string GetEnvironmentVariable(string key)
Parameters
key
string