10 interfaces inheriting from ILspService
Microsoft.CodeAnalysis.EditorFeatures (1)
ExternalAccess\VSTypeScript\Api\AbstractVSTypeScriptRequestHandler.cs (1)
69internal interface IVSTypeScriptRequestHandler : ILspService
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Handler\IClientCapabilitiesManager.cs (1)
11internal interface IClientCapabilitiesManager : ILspService
Handler\ILspServiceNotificationHandler.cs (2)
10ILspService, 17ILspService,
Handler\ILspServiceRequestHandler.cs (1)
11ILspService,
ICapabilitiesProvider.cs (1)
9internal interface ICapabilitiesProvider : ILspService
IClientCapabilitiesProvider.cs (1)
9internal interface IClientCapabilitiesProvider : ILspService
IClientLanguageServerManager.cs (1)
10internal interface IClientLanguageServerManager : ILspService
ILspServiceLogger.cs (1)
10internal interface ILspServiceLogger : ILspLogger, ILspService
IRequestExecutionQueueProvider.cs (1)
9internal interface IRequestExecutionQueueProvider<RequestContext> : ILspService
10 implementations of ILspService
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\RequestContextFactory.cs (1)
13internal class RequestContextFactory : IRequestContextFactory<RequestContext>, ILspService
Handler\RequestTelemetryLogger.cs (1)
18internal sealed class RequestTelemetryLogger : IDisposable, ILspService
Handler\ResolveCache.cs (1)
19internal abstract class ResolveCache<TCacheEntry> : ILspService where TCacheEntry : class
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (1)
26ILspService,
Handler\ServerLifetime\LspServiceLifeCycleManager.cs (1)
14internal class LspServiceLifeCycleManager : ILifeCycleManager, ILspService
Workspaces\LspMiscellaneousFilesWorkspace.cs (1)
31internal class LspMiscellaneousFilesWorkspace : Workspace, ILspService
Workspaces\LspWorkspaceManager.cs (1)
45internal class LspWorkspaceManager : IDocumentChangeTracker, ILspService
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
LanguageServerTargetTests.cs (2)
166internal class StatefulLspService : ILspService, IDisposable 176internal class StatelessLspService : ILspService, IDisposable
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\XamlRequestExecutionQueue.cs (1)
22internal class XamlRequestExecutionQueue : RequestExecutionQueue<RequestContext>, ILspService
36 references to ILspService
Microsoft.CodeAnalysis.EditorFeatures (2)
ExternalAccess\VSTypeScript\Api\AbstactVSTypeScriptLspServiceFactory.cs (1)
13public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
ExternalAccess\VSTypeScript\VSTypeScriptLspServiceProvider.cs (1)
19[ImportMany(ProtocolConstants.TypeScriptLanguageContract)] IEnumerable<Lazy<ILspService, LspServiceMetadataView>> lspServices,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
LanguageServer\AbstractLanguageServerProtocolTests.cs (1)
686internal T GetRequiredLspService<T>() where T : class, ILspService => LanguageServer.GetTestAccessor().GetRequiredLspService<T>();
Microsoft.CodeAnalysis.LanguageServer.Protocol (31)
Handler\CodeLens\CodeLensCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new CodeLensCache();
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\Diagnostics\DocumentPullDiagnosticHandlerFactory.cs (1)
33public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticHandlerFactory.cs (1)
37public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (1)
36public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\WorkspacePullDiagnosticHandlerFactory.cs (1)
33public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\RequestContext.cs (1)
246public T GetRequiredLspService<T>() where T : class, ILspService
Handler\RequestTelemetryLoggerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangeHandlerFactory.cs (1)
25public 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\AbstractLspServiceProvider.cs (2)
14private readonly ImmutableArray<Lazy<ILspService, LspServiceMetadataView>> _lspServices; 18IEnumerable<Lazy<ILspService, LspServiceMetadataView>> specificLspServices,
LspServices\ExportLspServiceFactoryAttribute.cs (3)
14/// to create new instances of the <see cref="ILspService"/> each time an LSP server is started. 41Contract.ThrowIfFalse(type.GetInterfaces().Contains(typeof(ILspService)), $"{type.Name} does not inherit from {nameof(ILspService)}");
LspServices\ExportStatelessLspServiceAttribute.cs (5)
13/// Defines an attribute to export an instance of <see cref="ILspService"/> that is re-used across 34/// Services MEF exported as <see cref="ILspService"/> must by definition be stateless as they are 39public ExportStatelessLspServiceAttribute(Type type, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any) : base(contractName, typeof(ILspService)) 41Contract.ThrowIfFalse(type.GetInterfaces().Contains(typeof(ILspService)), $"{type.Name} does not inherit from {nameof(ILspService)}");
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 (3)
18private readonly ImmutableDictionary<Type, Lazy<ILspService, LspServiceMetadataView>> _lazyMefLspServices; 35ImmutableArray<Lazy<ILspService, LspServiceMetadataView>> mefLspServices, 41var servicesFromFactories = mefLspServiceFactories.Select(lz => new Lazy<ILspService, LspServiceMetadataView>(() => lz.Value.CreateILspService(this, serverKind), lz.Metadata));
LspServices\RoslynLspServiceProvider.cs (1)
19[ImportMany(ProtocolConstants.RoslynLspLanguagesContract)] IEnumerable<Lazy<ILspService, LspServiceMetadataView>> lspServices,
Workspaces\LspWorkspaceManagerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
LanguageServerTargetTests.cs (1)
163public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new StatefulLspService();
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\XamlLspServiceProvider.cs (1)
20[ImportMany(StringConstants.XamlLspLanguagesContract)] IEnumerable<Lazy<ILspService, LspServiceMetadataView>> lspServices,