Example #1
0
        private async void OnRemoveApplication(object sender, RoutedEventArgs e)
        {
            StorageAccountConnectionInfo connectionInfo = GetCurrentConnection();
            string appId = GetSelectedAppId();

            _deploymentConfig = _deploymentConfig.RemoveApplication(appId);
            SaveLocalDeploymentConfig(connectionInfo);
            await HandleConnectionSelection();
        }
Example #2
0
 public void TestRemoveApplication()
 {
     _deploymentConfig = _deploymentConfig.RemoveApplication("app1");
     AssertUtils.ContainsSameElementsInAnyOrder(new[] { "app2", "app3" }, _deploymentConfig.ListApplications());
 }