object CreateToolTipContent(IDecompiler decompiler, object @ref) { if (decompiler == null) { return(null); } if (@ref == null) { return(null); } var ctx = new ToolTipProviderContext(dotNetImageService, decompiler, codeToolTipSettings, documentViewer, classificationFormatMap, themeClassificationTypeService); foreach (var provider in documentViewerToolTipProviders) { var toolTipContent = provider.Value.Create(ctx, @ref); if (toolTipContent != null) { return(toolTipContent); } } return(null); }
object CreateToolTipContent(IDecompiler decompiler, object @ref) { if (decompiler == null) return null; if (@ref == null) return null; var ctx = new ToolTipProviderContext(dotNetImageService, decompiler, codeToolTipSettings, documentViewer, classificationFormatMap, themeClassificationTypeService); foreach (var provider in documentViewerToolTipProviders) { var toolTipContent = provider.Value.Create(ctx, @ref); if (toolTipContent != null) return toolTipContent; } return null; }