1 instantiation of LspServices
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
LspServices\AbstractLspServiceProvider.cs (1)
21var lspServices = new LspServices(_lspServices, _lspServiceFactories, serverKind, baseServices);
42 references to LspServices
Microsoft.CodeAnalysis.EditorFeatures (1)
ExternalAccess\VSTypeScript\Api\AbstactVSTypeScriptLspServiceFactory.cs (1)
11public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (6)
AbstractRazorLspServiceFactory.cs (2)
14public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) 21private sealed class RazorLspServices(LspServices lspServices) : IRazorLspServices
Cohost\RazorClientLanguageServerManagerFactory.cs (1)
18public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Cohost\RazorConfigurationChangedServiceFactory.cs (1)
21public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Cohost\RazorSemanticTokensRefreshQueueWrapper.cs (1)
23public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Cohost\RazorStartupServiceFactory.cs (1)
27public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.ExternalAccess.Xaml (2)
External\XamlRequestHandlerFactoryBase.cs (1)
22public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Internal\OnInitializedServiceFactory.cs (1)
33public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.LanguageServer (2)
HostWorkspace\Razor\RazorClientLanguageServerManagerFactory.cs (1)
17public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
LanguageServer\RazorDynamicDocumentSyncRegistration.cs (1)
19public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.LanguageServer.Protocol (27)
Handler\CodeLens\CodeLensRefreshQueueFactory.cs (1)
32public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Completion\CompletionListCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new CompletionListCache();
Handler\Configuration\DidChangeConfigurationNotificationHandlerFactory.cs (1)
26public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\DiagnosticsRefreshQueue.cs (1)
35public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\DocumentPullDiagnosticHandlerFactory.cs (1)
22public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticHandlerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (1)
23public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\WorkspacePullDiagnosticHandlerFactory.cs (1)
23public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\InlayHint\InlayHintCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new InlayHintCache();
Handler\InlayHint\InlayHintRefreshQueueFactory.cs (1)
32public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\RelatedDocuments\RelatedDocumentsHandler.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\ResolveDataCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensFullHandlerFactory.cs (1)
19public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangeHandlerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangesHandlerFactory.cs (1)
26public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRefreshQueueFactory.cs (1)
28public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\ServerLifetime\LspServiceLifeCycleManager.cs (1)
28public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SourceGenerators\SourceGeneratedDocumentCache.cs (1)
57public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SourceGenerators\SourceGeneratorRefreshQueueFactory.cs (1)
19public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\DocumentSpellCheckHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\WorkspaceSpellCheckHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Telemetry\RequestTelemetryLoggerFactory.cs (1)
16public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
LspServices\AbstractLspServiceProvider.cs (2)
19public LspServices CreateServices(WellKnownLspServerKinds serverKind, FrozenDictionary<string, ImmutableArray<BaseService>> baseServices) 21var lspServices = new LspServices(_lspServices, _lspServiceFactories, serverKind, baseServices);
LspServices\ExportLspServiceFactoryAttribute.cs (1)
14/// The services created by the <see cref="ILspServiceFactory"/> are disposed of by <see cref="LspServices"/>
LspServices\ILspServiceFactory.cs (1)
13ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind);
Workspaces\LspWorkspaceManagerFactory.cs (1)
18public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
HandlerTests.cs (2)
388public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) 418public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
LanguageServerTargetTests.cs (1)
155public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new StatefulLspService();
LspServicesTests.cs (1)
93public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new TestLspServiceFromFactory(this.GetType().Name);