private async void OnRemoveApplication(object sender, RoutedEventArgs e) { StorageAccountConnectionInfo connectionInfo = GetCurrentConnection(); string appId = GetSelectedAppId(); _deploymentConfig = _deploymentConfig.RemoveApplication(appId); SaveLocalDeploymentConfig(connectionInfo); await HandleConnectionSelection(); }
public void TestRemoveApplication() { _deploymentConfig = _deploymentConfig.RemoveApplication("app1"); AssertUtils.ContainsSameElementsInAnyOrder(new[] { "app2", "app3" }, _deploymentConfig.ListApplications()); }