internal static async Task <IntellisenseQuickInfoItem> BuildItemAsync( ITrackingSpan trackingSpan, CodeAnalysisQuickInfoItem quickInfoItem, Document document, IThreadingContext threadingContext, Lazy <IStreamingFindUsagesPresenter> streamingPresenter, CancellationToken cancellationToken) { var context = new IntellisenseQuickInfoBuilderContext(document, threadingContext, streamingPresenter); var content = await BuildInteractiveContentAsync(quickInfoItem, context, cancellationToken).ConfigureAwait(false); return(new IntellisenseQuickInfoItem(trackingSpan, content)); }
internal static async Task <IntellisenseQuickInfoItem> BuildItemAsync( ITrackingSpan trackingSpan, CodeAnalysisQuickInfoItem quickInfoItem, Document document, ClassificationOptions classificationOptions, IThreadingContext threadingContext, IUIThreadOperationExecutor operationExecutor, IAsynchronousOperationListener asyncListener, Lazy <IStreamingFindUsagesPresenter> streamingPresenter, CancellationToken cancellationToken) { var context = new IntellisenseQuickInfoBuilderContext(document, classificationOptions, threadingContext, operationExecutor, asyncListener, streamingPresenter); var content = await BuildInteractiveContentAsync(quickInfoItem, context, cancellationToken).ConfigureAwait(false); return(new IntellisenseQuickInfoItem(trackingSpan, content)); }