9 interfaces inheriting from ILspService
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Handler\IInitializeManager.cs (1)
9
internal interface IInitializeManager :
ILspService
Handler\ILspServiceNotificationHandler.cs (2)
10
ILspService
,
17
ILspService
,
Handler\ILspServiceRequestHandler.cs (2)
14
ILspService
,
24
ILspService
,
ICapabilitiesProvider.cs (1)
9
internal interface ICapabilitiesProvider :
ILspService
IClientLanguageServerManager.cs (1)
15
internal interface IClientLanguageServerManager :
ILspService
ILanguageInfoProvider.cs (1)
14
internal interface ILanguageInfoProvider :
ILspService
IRequestExecutionQueueProvider.cs (1)
9
internal interface IRequestExecutionQueueProvider<RequestContext> :
ILspService
9 implementations of ILspService
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Handler\AbstractRefreshQueue.cs (1)
20
ILspService
,
Handler\RequestContextFactory.cs (1)
13
internal class RequestContextFactory : AbstractRequestContextFactory<RequestContext>,
ILspService
Handler\ResolveCache.cs (1)
19
internal abstract class ResolveCache<TCacheEntry> :
ILspService
where TCacheEntry : class
Handler\ServerLifetime\LspServiceLifeCycleManager.cs (1)
14
internal class LspServiceLifeCycleManager : ILifeCycleManager,
ILspService
Handler\SourceGenerators\SourceGeneratorRefreshQueue.cs (1)
19
ILspService
,
Handler\Telemetry\RequestTelemetryLogger.cs (1)
19
internal class RequestTelemetryLogger : IDisposable,
ILspService
LspServices\TelemetryService.cs (1)
10
internal sealed class TelemetryService : AbstractTelemetryService,
ILspService
NoOpLspLogger.cs (1)
10
internal sealed class NoOpLspLogger : AbstractLspLogger,
ILspService
Workspaces\LspWorkspaceManager.cs (1)
46
internal sealed class LspWorkspaceManager : IDocumentChangeTracker,
ILspService
42 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 (41)
Handler\CodeLens\CodeLensRefreshQueueFactory.cs (1)
32
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Completion\CompletionListCacheFactory.cs (1)
20
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new CompletionListCache();
Handler\Configuration\DidChangeConfigurationNotificationHandlerFactory.cs (1)
26
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\DiagnosticsRefreshQueue.cs (1)
36
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\DocumentPullDiagnosticHandlerFactory.cs (1)
36
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticHandlerFactory.cs (1)
39
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (1)
24
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\WorkspacePullDiagnosticHandlerFactory.cs (1)
24
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\InlayHint\InlayHintCacheFactory.cs (1)
20
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new InlayHintCache();
Handler\InlayHint\InlayHintRefreshQueueFactory.cs (1)
32
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\RelatedDocuments\RelatedDocumentsHandler.cs (1)
25
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\RequestContext.cs (1)
377
public T GetRequiredLspService<T>() where T : class,
ILspService
Handler\ResolveDataCacheFactory.cs (1)
20
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangeHandlerFactory.cs (1)
25
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangesHandlerFactory.cs (1)
26
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRefreshQueueFactory.cs (1)
28
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SourceGenerators\SourceGeneratedDocumentCache.cs (1)
17
internal sealed class SourceGeneratedDocumentCache(string uniqueKey) : VersionedPullCache<(SourceGeneratorExecutionVersion, VersionStamp), object?, SourceGeneratedDocumentGetTextState, SourceText?>(uniqueKey),
ILspService
Handler\SourceGenerators\SourceGeneratorRefreshQueueFactory.cs (1)
19
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\DocumentSpellCheckHandlerFactory.cs (1)
20
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\WorkspaceSpellCheckHandlerFactory.cs (1)
20
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Telemetry\RequestTelemetryLoggerFactory.cs (1)
20
public
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
60
Contract.ThrowIfFalse(serviceType.GetInterfaces().Contains(typeof(
ILspService
)), $"{serviceType.Name} does not inherit from {nameof(
ILspService
)}");
LspServices\AbstractLspServiceProvider.cs (2)
14
private readonly ImmutableArray<Lazy<
ILspService
, LspServiceMetadataView>> _lspServices;
18
IEnumerable<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.
13
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind);
LspServices\LspServices.cs (6)
21
private readonly FrozenDictionary<string, Lazy<
ILspService
, LspServiceMetadataView>> _lazyMefLspServices;
37
ImmutableArray<Lazy<
ILspService
, LspServiceMetadataView>> mefLspServices,
42
var serviceMap = new Dictionary<string, Lazy<
ILspService
, LspServiceMetadataView>>();
64
void AddSpecificService(Lazy<
ILspService
, LspServiceMetadataView> serviceGetter)
71
void TryAddAnyService(Lazy<
ILspService
, LspServiceMetadataView> serviceGetter)
155
var
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)
23
internal sealed class LspMiscellaneousFilesWorkspaceProvider(IMetadataAsSourceFileService metadataAsSourceFileService) :
ILspService
Workspaces\LspWorkspaceManagerFactory.cs (1)
25
public
ILspService
CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)