protected GlobalSettingsManager(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths        = new GlobalPathInfo(azurePath, subscriptionsDataFile);
     DefaultEnvironment = WindowsAzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
     environments       = new Dictionary <string, WindowsAzureEnvironment>(
         WindowsAzureEnvironment.PublicEnvironments,
         StringComparer.InvariantCultureIgnoreCase);
 }
 protected GlobalSettingsManager(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths = new GlobalPathInfo(azurePath, subscriptionsDataFile);
     DefaultEnvironment = WindowsAzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
     environments = new Dictionary<string, WindowsAzureEnvironment>(
         WindowsAzureEnvironment.PublicEnvironments,
         StringComparer.InvariantCultureIgnoreCase);
 }
Exemple #3
0
 protected GlobalSettingsManager(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths        = new GlobalPathInfo(azurePath, subscriptionsDataFile);
     DefaultEnvironment = WindowsAzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
 }
 protected GlobalSettingsManager(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths = new GlobalPathInfo(azurePath, subscriptionsDataFile);
     DefaultEnvironment = WindowsAzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
 }
Exemple #5
0
 protected GlobalComponents(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths = new GlobalPathInfo(azurePath, subscriptionsDataFile);
 }
 protected GlobalComponents(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths = new GlobalPathInfo(azurePath, subscriptionsDataFile);
 }
 public static void AreEqualGlobalPathInfo(string azureSdkPath, string publishSettings, GlobalPathInfo actual)
 {
     Assert.AreEqual(publishSettings, actual.PublishSettingsFile);
     Assert.AreEqual(azureSdkPath, actual.AzureDirectory);
 }
 public static void AreEqualGlobalPathInfo(GlobalPathInfo expected, GlobalPathInfo actual)
 {
     AreEqualGlobalPathInfo(expected.AzureDirectory, expected.PublishSettingsFile, actual);
 }
 public static void AreEqualGlobalComponents(GlobalPathInfo paths, PublishData publishSettings, GlobalComponents actual)
 {
     AreEqualGlobalPathInfo(paths, actual.GlobalPaths);
 }
 public void GlobalPathInfoTests()
 {
     GlobalPathInfo pathInfo = new GlobalPathInfo(Data.AzureAppDir);
     string azureSdkPath = Data.AzureAppDir;
     AzureAssert.AreEqualGlobalPathInfo(azureSdkPath, Path.Combine(azureSdkPath, Resources.PublishSettingsFileName), pathInfo);
 }
Exemple #11
0
 public static void AreEqualGlobalSettingsManager(GlobalPathInfo paths, PublishData publishSettings, GlobalSettingsManager actual)
 {
     AreEqualGlobalPathInfo(paths, actual.GlobalPaths);
 }