public void SetEditItem(DeploymentTaskConfig config)
        {
            EditModel   = new ViewModel.DeploymentTaskConfigViewModel(config);
            DataContext = EditModel;

            EditModel.RefreshOptions();
        }
Beispiel #2
0
        public void SetEditItem(DeploymentTaskConfig config, bool editAsPostRequestTask)
        {
            EditModel = new ViewModel.DeploymentTaskConfigViewModel(config, editAsPostRequestTask);

            this.StoredCredentials.ItemsSource = EditModel.FilteredCredentials;

            DataContext = EditModel;

            var providers = EditModel.DeploymentProviders;

            Task.Run(async() => await RefreshEditModelOptions(resetDefaults: false));
        }