23 references to ILspServices
Microsoft.CommonLanguageServerProtocol.Framework.Package (23)
AbstractLanguageServer.cs (9)
28private readonly Lazy<ILspServices> _lspServices; 67_lspServices = new Lazy<ILspServices>(() => ConstructLspServices()); 81/// Extension point to allow creation of <see cref="ILspServices"/> since that can't always be handled in the constructor. 83/// <returns>An <see cref="ILspServices"/> instance for this server.</returns> 85protected abstract ILspServices ConstructLspServices(); 91var lspServices = _lspServices.Value; 98public ILspServices GetLspServices() => _lspServices.Value; 199ILspServices lspServices, 290var 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 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
IQueueItem.cs (1)
43ILspServices LspServices { get; }
IRequestExecutionQueue.cs (1)
25Task<object?> ExecuteAsync(object? serializedRequest, string methodName, ILspServices lspServices, CancellationToken cancellationToken);
QueueItem.cs (3)
39public ILspServices LspServices { get; } 48ILspServices lspServices, 69ILspServices lspServices,
RequestExecutionQueue.cs (3)
43/// <see cref="ExecuteAsync(object?, string, Microsoft.CommonLanguageServerProtocol.Framework.ILspServices, CancellationToken)"/> 160ILspServices lspServices, 193ILspServices? lspServices = null;