3 implementations of TryGetService
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
LspServices\LspServices.cs (1)
120public bool TryGetService(Type type, [NotNullWhen(true)] out object? service)
Microsoft.CommonLanguageServerProtocol.Framework.Example (1)
ExampleLspServices.cs (1)
38public bool TryGetService(Type type, [NotNullWhen(true)] out object? service)
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (1)
Mocks\TestLspServices.cs (1)
37public virtual 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)
110if (!lspServices.TryGetService(handlerType, out var lspService))