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)
34
var notificationManager = lspServices.
GetRequiredService
<IClientLanguageServerManager>();
35
var lspWorkspaceManager = lspServices.
GetRequiredService
<LspWorkspaceManager>();
Handler\Configuration\DidChangeConfigurationNotificationHandlerFactory.cs (2)
28
var clientManager = lspServices.
GetRequiredService
<IClientLanguageServerManager>();
29
var lspLogger = lspServices.
GetRequiredService
<AbstractLspLogger>();
Handler\Diagnostics\DiagnosticsRefreshQueue.cs (2)
38
var notificationManager = lspServices.
GetRequiredService
<IClientLanguageServerManager>();
39
var lspWorkspaceManager = lspServices.
GetRequiredService
<LspWorkspaceManager>();
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticHandlerFactory.cs (1)
41
var clientLanguageServerManager = lspServices.
GetRequiredService
<IClientLanguageServerManager>();
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (1)
26
var workspaceManager = lspServices.
GetRequiredService
<LspWorkspaceManager>();
Handler\Diagnostics\WorkspacePullDiagnosticHandlerFactory.cs (1)
26
var workspaceManager = lspServices.
GetRequiredService
<LspWorkspaceManager>();
Handler\InlayHint\InlayHintRefreshQueueFactory.cs (2)
34
var notificationManager = lspServices.
GetRequiredService
<IClientLanguageServerManager>();
35
var lspWorkspaceManager = lspServices.
GetRequiredService
<LspWorkspaceManager>();
Handler\SemanticTokens\SemanticTokensRangeHandlerFactory.cs (1)
27
var semanticTokensRefreshQueue = lspServices.
GetRequiredService
<SemanticTokensRefreshQueue>();
Handler\SemanticTokens\SemanticTokensRangesHandlerFactory.cs (1)
28
var semanticTokensRefreshQueue = lspServices.
GetRequiredService
<SemanticTokensRefreshQueue>();
Handler\SemanticTokens\SemanticTokensRefreshQueueFactory.cs (2)
30
var notificationManager = lspServices.
GetRequiredService
<IClientLanguageServerManager>();
31
var lspWorkspaceManager = lspServices.
GetRequiredService
<LspWorkspaceManager>();
Handler\SourceGenerators\SourceGeneratorRefreshQueueFactory.cs (2)
21
var notificationManager = lspServices.
GetRequiredService
<IClientLanguageServerManager>();
22
var lspWorkspaceManager = lspServices.
GetRequiredService
<LspWorkspaceManager>();
Workspaces\LspWorkspaceManagerFactory.cs (3)
27
var logger = lspServices.
GetRequiredService
<AbstractLspLogger>();
29
var languageInfoProvider = lspServices.
GetRequiredService
<ILanguageInfoProvider>();
30
var telemetryLogger = lspServices.
GetRequiredService
<RequestTelemetryLogger>();