1 implementation of TryGetService
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
LspServices\LspServices.cs (1)
121
public bool
TryGetService
(Type type, [NotNullWhen(true)] out object? service)
1 reference to TryGetService
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\HandlerProvider.cs (1)
110
if (!lspServices.
TryGetService
(handlerType, out var lspService))