public StackTraceExplorer(StackTraceExplorerViewModel viewModel)
        {
            DataContext = ViewModel = viewModel;
            InitializeComponent();

            DataObject.AddPastingHandler(this, OnPaste);
        }
        public StackTraceExplorerTab(IThreadingContext threadingContext, VisualStudioWorkspace workspace, IClassificationFormatMap formatMap, ClassificationTypeMap typeMap, IStreamingFindUsagesPresenter streamingFindUsagesPresenter, int nameIndex)
        {
            NameIndex = nameIndex;

            _stackExplorerVM = new StackTraceExplorerViewModel(threadingContext, workspace, typeMap, formatMap, streamingFindUsagesPresenter);
            Content          = new StackTraceExplorer(_stackExplorerVM);

            CloseClick = new DelegateCommand(_ =>
            {
                OnClosed?.Invoke(this, null);
            });
        }