24 references to ILspServices
Microsoft.CommonLanguageServerProtocol.Framework.Package (24)
AbstractLanguageServer.cs (9)
31private readonly Lazy<ILspServices> _lspServices; 74_lspServices = new Lazy<ILspServices>(() => ConstructLspServices()); 78var lspServices = _lspServices.Value; 95/// Extension point to allow creation of <see cref="ILspServices"/> since that can't always be handled in the constructor. 97/// <returns>An <see cref="ILspServices"/> instance for this server.</returns> 99protected abstract ILspServices ConstructLspServices(); 109public ILspServices GetLspServices() => _lspServices.Value; 211ILspServices lspServices, 304var lspServices = GetLspServices();
AbstractRequestContextFactory.cs (1)
20/// It also allows somewhere to pass things like the <see cref="ILspServices" /> or <see cref="ILspLogger" /> which are useful on a wide variety of requests.
HandlerProvider.cs (4)
17internal sealed class HandlerProvider(ILspServices lspServices, AbstractTypeRefResolver typeRefResolver) : AbstractHandlerProvider 19private readonly ILspServices _lspServices = lspServices; 48private static FrozenDictionary<RequestHandlerMetadata, Lazy<IMethodHandler>> CreateMethodToHandlerMap(ILspServices lspServices, AbstractTypeRefResolver typeRefResolver) 103static Lazy<IMethodHandler> GetLazyHandlerFromTypeRef(ILspServices lspServices, AbstractTypeRefResolver typeRefResolver, TypeRef handlerTypeRef)
IMethodHandlerProvider.cs (1)
13/// Optional interface that can be implemented by <see cref="ILspServices"/> implementations
IRequestExecutionQueue.cs (1)
24Task<object?> ExecuteAsync(object? serializedRequest, string methodName, ILspServices lspServices, CancellationToken cancellationToken);
NewtonsoftLanguageServer.cs (1)
77var lspServices = target.GetLspServices();
QueueItem.cs (3)
43public ILspServices LspServices { get; } 52ILspServices lspServices, 73ILspServices lspServices,
RequestExecutionQueue.cs (3)
42/// <see cref="ExecuteAsync(object?, string, Microsoft.CommonLanguageServerProtocol.Framework.ILspServices, CancellationToken)"/> 159ILspServices lspServices, 192ILspServices? lspServices = null;
SystemTextJsonLanguageServer.cs (1)
85var lspServices = target.GetLspServices();