public static string GetDefaultConfigForEnvironment(EnvironmentSettings.Environments env)
        {
            string key    = ((int)env).ToString() + "DefaultConfig";
            string orNull = EnvironmentSettings.EnvServers.GetOrNull <string, string>(key);

            if (orNull != null)
            {
                return(orNull);
            }
            throw new Exception(string.Format("No '{0}' defined in {1}", (object)key, (object)EnvironmentSettings.GetConfigFilePath()));
        }
 public static string GetServiceURIForEnvironment(EnvironmentSettings.Environments env)
 {
     return(EnvironmentSettings.EnvServers.GetOrNull <string, string>(env.ToString() + "ServiceURI"));
 }
 public static string GetWebServerForEnvironment(EnvironmentSettings.Environments env)
 {
     return(EnvironmentSettings.EnvServers.GetOrNull <string, string>(env.ToString() + "Server") ?? "aqrweb");
 }