3 implementations of IDocumentExcerptService
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
RazorDocumentExcerptServiceWrapper.cs (1)
14internal sealed class RazorDocumentExcerptServiceWrapper : IDocumentExcerptService
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.DocumentServiceProvider.cs (1)
129private sealed class DocumentExcerpter : IDocumentExcerptService
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Venus\DocumentService_IntegrationTests.vb (1)
304Implements IDocumentExcerptService
16 references to IDocumentExcerptService
Microsoft.CodeAnalysis.ExternalAccess.Razor (3)
RazorDocumentServiceProviderWrapper.cs (3)
18private StrongBox<IDocumentExcerptService?>? _lazyExcerptService; 47if (serviceType == typeof(IDocumentExcerptService)) 49var excerptService = LazyInitialization.EnsureInitialized(
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Host\DocumentService\IDocumentExcerptService.cs (2)
60/// should be same document in <see cref="IDocumentExcerptService.TryExcerptAsync(Document, TextSpan, ExcerptMode, ClassificationOptions, CancellationToken)" /> 67/// should be same text span in <see cref="IDocumentExcerptService.TryExcerptAsync(Document, TextSpan, ExcerptMode, ClassificationOptions, CancellationToken)" />
Microsoft.VisualStudio.LanguageServices (6)
CodeLens\RemoteCodeLensReferencesService.cs (2)
177var excerpter = document.Services.GetService<IDocumentExcerptService>();
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (2)
394var excerptService = documentSpan.Document.Services.GetService<IDocumentExcerptService>();
FindReferences\Entries\DocumentSpanEntry.cs (2)
228var excerptService = document.Services.GetService<IDocumentExcerptService>();
Microsoft.VisualStudio.LanguageServices.UnitTests (5)
Venus\DocumentService_IntegrationTests.vb (1)
308Public Async Function TryExcerptAsync(document As Document, span As TextSpan, mode As ExcerptMode, classificationOptions As ClassificationOptions, cancellationToken As CancellationToken) As Task(Of ExcerptResult?) Implements IDocumentExcerptService.TryExcerptAsync
Venus\DocumentServiceTests.vb (4)
138Dim excerptService = service.GetService(Of IDocumentExcerptService) 176Dim excerptService = service.GetService(Of IDocumentExcerptService) 224Dim excerptService = service.GetService(Of IDocumentExcerptService) 277Dim excerptService = service.GetService(Of IDocumentExcerptService)