XebiaLabs.Deployit.UI.ViewModels.EntryItemViewModel.DoRemove C# (CSharp) Method

DoRemove() private method

private DoRemove ( ) : void
return void
        private void DoRemove()
        {
            var youSure = MessageBox.Show("Do you really want to remove [" + TreeItemLabel + "] from the manifest?", "Are you sure?", MessageBoxButton.YesNo, MessageBoxImage.Question, MessageBoxResult.No);
            if (youSure != MessageBoxResult.Yes) { return; }

            Parent.Children.Remove(this);
			_editor.SelectedTreeItem = Parent;
			_collection.RemoveEntryItem(this);
		}