Implemented interface member:
method
GetRequiredService<T>
Microsoft.CommonLanguageServerProtocol.Framework.ILspServices.GetRequiredService<T>()
20 references to GetRequiredService
Microsoft.CodeAnalysis.LanguageServer.Protocol (20)
Handler\CodeLens\CodeLensRefreshQueueFactory.cs (2)
34var notificationManager = lspServices.GetRequiredService<IClientLanguageServerManager>(); 35var lspWorkspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Handler\Configuration\DidChangeConfigurationNotificationHandlerFactory.cs (2)
28var clientManager = lspServices.GetRequiredService<IClientLanguageServerManager>(); 29var lspLogger = lspServices.GetRequiredService<AbstractLspLogger>();
Handler\Diagnostics\DiagnosticsRefreshQueue.cs (2)
38var notificationManager = lspServices.GetRequiredService<IClientLanguageServerManager>(); 39var lspWorkspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticHandlerFactory.cs (1)
41var clientLanguageServerManager = lspServices.GetRequiredService<IClientLanguageServerManager>();
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (1)
26var workspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Handler\Diagnostics\WorkspacePullDiagnosticHandlerFactory.cs (1)
26var workspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Handler\InlayHint\InlayHintRefreshQueueFactory.cs (2)
34var notificationManager = lspServices.GetRequiredService<IClientLanguageServerManager>(); 35var lspWorkspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Handler\SemanticTokens\SemanticTokensRangeHandlerFactory.cs (1)
27var semanticTokensRefreshQueue = lspServices.GetRequiredService<SemanticTokensRefreshQueue>();
Handler\SemanticTokens\SemanticTokensRangesHandlerFactory.cs (1)
28var semanticTokensRefreshQueue = lspServices.GetRequiredService<SemanticTokensRefreshQueue>();
Handler\SemanticTokens\SemanticTokensRefreshQueueFactory.cs (2)
30var notificationManager = lspServices.GetRequiredService<IClientLanguageServerManager>(); 31var lspWorkspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Handler\SourceGenerators\SourceGeneratorRefreshQueueFactory.cs (2)
21var notificationManager = lspServices.GetRequiredService<IClientLanguageServerManager>(); 22var lspWorkspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Workspaces\LspWorkspaceManagerFactory.cs (3)
27var logger = lspServices.GetRequiredService<AbstractLspLogger>(); 29var languageInfoProvider = lspServices.GetRequiredService<ILanguageInfoProvider>(); 30var telemetryLogger = lspServices.GetRequiredService<RequestTelemetryLogger>();