2 instantiations of DisposableToolTip
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
QuickInfo\ContentControlService.cs (2)
73return new DisposableToolTip(toolTip, workspace); 89return new DisposableToolTip(toolTip, workspaceOpt: null);
13 references to DisposableToolTip
Microsoft.CodeAnalysis.EditorFeatures.Wpf (13)
QuickInfo\ContentControlService.cs (3)
50public void AttachToolTipToControl(FrameworkElement element, Func<DisposableToolTip> createToolTip) 53public DisposableToolTip CreateDisposableToolTip(Document document, ITextBuffer textBuffer, Span contentSpan, object backgroundResourceKey) 76public DisposableToolTip CreateDisposableToolTip(ITextBuffer textBuffer, object backgroundResourceKey)
QuickInfo\IContentControlService.cs (6)
23/// get <see cref="DisposableToolTip"/> /> from the given <paramref name="textBuffer"/>'s <paramref name="contentSpan"/> 34DisposableToolTip CreateDisposableToolTip(Document baseDocument, ITextBuffer textBuffer, Span contentSpan, object backgroundResourceKey); 37/// get <see cref="DisposableToolTip"/> /> from the given <paramref name="textBuffer"/> 42DisposableToolTip CreateDisposableToolTip(ITextBuffer textBuffer, object backgroundResourceKey); 45/// attach <see cref="DisposableToolTip"/> to the given <paramref name="element"/> 49void AttachToolTipToControl(FrameworkElement element, Func<DisposableToolTip> createToolTip);
QuickInfo\LazyToolTip.cs (4)
24private readonly Func<DisposableToolTip> _createToolTip; 28private DisposableToolTip _disposableToolTip; 33Func<DisposableToolTip> createToolTip) 53public static void AttachTo(FrameworkElement element, IThreadingContext threadingContext, Func<DisposableToolTip> createToolTip)