Example #1
0
 public static T GetVariable <T>(string parameterName, char?separator = null)
 {
     return((T)s_parameterService.GetEnvironmentVariable(parameterName, typeof(T), separator));
 }
 /// <summary>
 /// Provides access to an environment variable switch.
 /// </summary>
 public static bool VariableSwitch(string name)
 {
     return(s_parameterService.GetEnvironmentVariable <bool>(name));
 }