示例#1
0
        void AddMethodDebugService(IDocumentViewer documentViewer, DocumentViewerContent content)
        {
            if (content == null)
            {
                return;
            }
            var service = new MethodDebugService(content.MethodDebugInfos, documentViewer.TextView.TextSnapshot, moduleIdProvider);

            documentViewer.AddContentData(MethodDebugServiceConstants.MethodDebugServiceKey, service);
        }