1 instantiation of LspServices
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
LspServices\AbstractLspServiceProvider.cs (1)
21
var lspServices = new
LspServices
(_lspServices, _lspServiceFactories, serverKind, baseServices);
42 references to LspServices
Microsoft.CodeAnalysis.EditorFeatures (1)
ExternalAccess\VSTypeScript\Api\AbstactVSTypeScriptLspServiceFactory.cs (1)
11
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (6)
AbstractRazorLspServiceFactory.cs (2)
14
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
21
private sealed class RazorLspServices(
LspServices
lspServices) : IRazorLspServices
Cohost\RazorClientLanguageServerManagerFactory.cs (1)
18
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Cohost\RazorConfigurationChangedServiceFactory.cs (1)
21
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Cohost\RazorSemanticTokensRefreshQueueWrapper.cs (1)
23
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Cohost\RazorStartupServiceFactory.cs (1)
27
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.ExternalAccess.Xaml (2)
External\XamlRequestHandlerFactoryBase.cs (1)
22
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Internal\OnInitializedServiceFactory.cs (1)
33
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.LanguageServer (2)
HostWorkspace\Razor\RazorClientLanguageServerManagerFactory.cs (1)
17
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
LanguageServer\RazorDynamicDocumentSyncRegistration.cs (1)
19
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.LanguageServer.Protocol (27)
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)
35
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\DocumentPullDiagnosticHandlerFactory.cs (1)
22
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticHandlerFactory.cs (1)
25
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (1)
23
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\WorkspacePullDiagnosticHandlerFactory.cs (1)
23
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\ResolveDataCacheFactory.cs (1)
20
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensFullHandlerFactory.cs (1)
19
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\ServerLifetime\LspServiceLifeCycleManager.cs (1)
28
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Handler\SourceGenerators\SourceGeneratedDocumentCache.cs (1)
57
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
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)
16
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
LspServices\AbstractLspServiceProvider.cs (2)
19
public
LspServices
CreateServices(WellKnownLspServerKinds serverKind, FrozenDictionary<string, ImmutableArray<BaseService>> baseServices)
21
var
lspServices = new LspServices(_lspServices, _lspServiceFactories, serverKind, baseServices);
LspServices\ExportLspServiceFactoryAttribute.cs (1)
14
/// The services created by the <see cref="ILspServiceFactory"/> are disposed of by <see cref="
LspServices
"/>
LspServices\ILspServiceFactory.cs (1)
13
ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind);
Workspaces\LspWorkspaceManagerFactory.cs (1)
18
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
HandlerTests.cs (2)
388
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
418
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind)
LanguageServerTargetTests.cs (1)
155
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind) => new StatefulLspService();
LspServicesTests.cs (1)
93
public ILspService CreateILspService(
LspServices
lspServices, WellKnownLspServerKinds serverKind) => new TestLspServiceFromFactory(this.GetType().Name);