9 interfaces inheriting from ILspService
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Handler\IInitializeManager.cs (1)
9internal interface IInitializeManager : ILspService
Handler\ILspServiceNotificationHandler.cs (2)
10ILspService, 17ILspService,
Handler\ILspServiceRequestHandler.cs (2)
14ILspService, 24ILspService,
ICapabilitiesProvider.cs (1)
9internal interface ICapabilitiesProvider : ILspService
IClientLanguageServerManager.cs (1)
15internal interface IClientLanguageServerManager : ILspService
ILanguageInfoProvider.cs (1)
13internal interface ILanguageInfoProvider : ILspService
IRequestExecutionQueueProvider.cs (1)
9internal interface IRequestExecutionQueueProvider<RequestContext> : ILspService
9 implementations of ILspService
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Handler\AbstractRefreshQueue.cs (1)
19ILspService,
Handler\RequestContextFactory.cs (1)
13internal class RequestContextFactory : AbstractRequestContextFactory<RequestContext>, ILspService
Handler\RequestTelemetryLogger.cs (1)
17internal sealed class RequestTelemetryLogger : IDisposable, ILspService
Handler\ResolveCache.cs (1)
19internal abstract class ResolveCache<TCacheEntry> : ILspService where TCacheEntry : class
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (1)
25ILspService,
Handler\ServerLifetime\LspServiceLifeCycleManager.cs (1)
14internal class LspServiceLifeCycleManager : ILifeCycleManager, ILspService
LspServices\TelemetryService.cs (1)
10internal sealed class TelemetryService : AbstractTelemetryService, ILspService
NoOpLspLogger.cs (1)
10internal sealed class NoOpLspLogger : AbstractLspLogger, ILspService
Workspaces\LspWorkspaceManager.cs (1)
45internal sealed class LspWorkspaceManager : IDocumentChangeTracker, ILspService
41 references to ILspService
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
Cohost\AbstractRazorLspService.cs (1)
11/// since those services must implement <see cref="ILspService"/> but the Razor code doesn't have IVT to it.
Microsoft.CodeAnalysis.LanguageServer.Protocol (40)
Handler\CodeLens\CodeLensRefreshQueueFactory.cs (1)
32public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\CodeLens\CodeLensResolveHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Completion\CompletionListCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new CompletionListCache();
Handler\Completion\CompletionResolveHandlerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Configuration\DidChangeConfigurationNotificationHandlerFactory.cs (1)
26public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\DiagnosticsRefreshQueue.cs (1)
36public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\DocumentPullDiagnosticHandlerFactory.cs (1)
36public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticHandlerFactory.cs (1)
39public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (1)
24public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\WorkspacePullDiagnosticHandlerFactory.cs (1)
24public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\InlayHint\InlayHintCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new InlayHintCache();
Handler\InlayHint\InlayHintRefreshQueueFactory.cs (1)
32public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\InlayHint\InlayHintResolveHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\RelatedDocuments\RelatedDocumentsHandler.cs (1)
28public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\RequestContext.cs (1)
377public T GetRequiredLspService<T>() where T : class, ILspService
Handler\RequestTelemetryLoggerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\ResolveDataCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangeHandlerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangesHandlerFactory.cs (1)
26public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRefreshQueueFactory.cs (1)
28public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\DocumentSpellCheckHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\WorkspaceSpellCheckHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
LspServices\AbstractExportLspServiceAttribute.cs (3)
38/// Services MEF exported as <see cref="ILspService"/> must by definition be stateless as they are 60Contract.ThrowIfFalse(serviceType.GetInterfaces().Contains(typeof(ILspService)), $"{serviceType.Name} does not inherit from {nameof(ILspService)}");
LspServices\AbstractLspServiceProvider.cs (2)
14private readonly ImmutableArray<Lazy<ILspService, LspServiceMetadataView>> _lspServices; 18IEnumerable<Lazy<ILspService, LspServiceMetadataView>> specificLspServices,
LspServices\ExportLspServiceFactoryAttribute.cs (1)
12/// to create new instances of the <see cref="ILspService"/> each time an LSP server is started.
LspServices\ExportStatelessLspServiceAttribute.cs (2)
11/// Defines an attribute to export an instance of <see cref="ILspService"/> that is re-used across 22: base(serviceType, contractName, contractType: typeof(ILspService), isStateless: true, serverKind)
LspServices\ILspServiceFactory.cs (2)
11/// need to know about other <see cref="ILspService"/> instances to be constructed. 13ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind);
LspServices\LspServices.cs (4)
20private readonly FrozenDictionary<string, Lazy<ILspService, LspServiceMetadataView>> _lazyMefLspServices; 36ImmutableArray<Lazy<ILspService, LspServiceMetadataView>> mefLspServices, 41var serviceMap = new Dictionary<string, Lazy<ILspService, LspServiceMetadataView>>(); 142var lspService = lazyService.Value;
LspServices\RoslynLspServiceProvider.cs (1)
18[ImportMany(ProtocolConstants.RoslynLspLanguagesContract)] IEnumerable<Lazy<ILspService, LspServiceMetadataView>> lspServices,
Workspaces\LspMiscellaneousFilesWorkspace.cs (1)
29: Workspace(hostServices, WorkspaceKind.MiscellaneousFiles), ILspService, ILspWorkspace
Workspaces\LspMiscellaneousFilesWorkspaceProvider.cs (1)
23internal sealed class LspMiscellaneousFilesWorkspaceProvider(IMetadataAsSourceFileService metadataAsSourceFileService) : ILspService
Workspaces\LspWorkspaceManagerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)