23 references to ILspServices
Microsoft.CommonLanguageServerProtocol.Framework.Package (23)
AbstractLanguageServer.cs (9)
30
private readonly Lazy<
ILspServices
> _lspServices;
73
_lspServices = new Lazy<
ILspServices
>(() => ConstructLspServices());
77
var
lspServices = _lspServices.Value;
94
/// Extension point to allow creation of <see cref="
ILspServices
"/> since that can't always be handled in the constructor.
96
/// <returns>An <see cref="
ILspServices
"/> instance for this server.</returns>
98
protected abstract
ILspServices
ConstructLspServices();
108
public
ILspServices
GetLspServices() => _lspServices.Value;
210
ILspServices
lspServices,
301
var
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)
17
internal sealed class HandlerProvider(
ILspServices
lspServices, AbstractTypeRefResolver typeRefResolver) : AbstractHandlerProvider
19
private readonly
ILspServices
_lspServices = lspServices;
48
private static FrozenDictionary<RequestHandlerMetadata, Lazy<IMethodHandler>> CreateMethodToHandlerMap(
ILspServices
lspServices, AbstractTypeRefResolver typeRefResolver)
103
static 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)
49
ILspServices
LspServices { get; }
IRequestExecutionQueue.cs (1)
24
Task<object?> ExecuteAsync(object? serializedRequest, string methodName,
ILspServices
lspServices, CancellationToken cancellationToken);
QueueItem.cs (3)
42
public
ILspServices
LspServices { get; }
51
ILspServices
lspServices,
72
ILspServices
lspServices,
RequestExecutionQueue.cs (3)
42
/// <see cref="ExecuteAsync(object?, string, Microsoft.CommonLanguageServerProtocol.Framework.
ILspServices
, CancellationToken)"/>
159
ILspServices
lspServices,
192
ILspServices
? lspServices = null;