2 implementations of ISemanticTokensLegendService
Microsoft.CodeAnalysis.Razor.Workspaces (1)
SemanticTokens\AbstractRazorSemanticTokensLegendService.cs (1)
13internal abstract class AbstractRazorSemanticTokensLegendService(IClientCapabilitiesService clientCapabilitiesService) : ISemanticTokensLegendService
Microsoft.CodeAnalysis.Remote.Razor (1)
SemanticTokens\RemoteSemanticTokensLegendService.cs (1)
15internal sealed class RemoteSemanticTokensLegendService : ISemanticTokensLegendService, ILspLifetimeService
28 references to ISemanticTokensLegendService
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
LanguageServer\TestRazorSemanticTokensLegendService.cs (1)
15public static ISemanticTokensLegendService GetInstance(bool supportsVSExtensions)
Microsoft.CodeAnalysis.Razor.Workspaces (7)
Protocol\LspInitializationHelpers.cs (2)
41public static void EnableSemanticTokens(this VSInternalServerCapabilities serverCapabilities, ISemanticTokensLegendService legend) 46public static SemanticTokensOptions EnableSemanticTokens(this SemanticTokensOptions options, ISemanticTokensLegendService legend)
SemanticTokens\AbstractRazorSemanticTokensInfoService.cs (2)
23ISemanticTokensLegendService semanticTokensLegendService, 38private readonly ISemanticTokensLegendService _semanticTokensLegendService = semanticTokensLegendService;
SemanticTokens\SemanticTokensVisitor.cs (3)
19private readonly ISemanticTokensLegendService _semanticTokensLegend; 24private SemanticTokensVisitor(List<SemanticRange> semanticRanges, RazorCodeDocument razorCodeDocument, TextSpan range, ISemanticTokensLegendService semanticTokensLegend, bool colorCodeBackground) 33public static void AddSemanticRanges(List<SemanticRange> ranges, RazorCodeDocument razorCodeDocument, TextSpan textSpan, ISemanticTokensLegendService razorSemanticTokensLegendService, bool colorCodeBackground)
Microsoft.CodeAnalysis.Remote.Razor (2)
SemanticTokens\RazorSemanticTokensInfoService.cs (1)
15ISemanticTokensLegendService semanticTokensLegendService,
SemanticTokens\RemoteSemanticTokensLegendService.cs (1)
13[Export(typeof(ISemanticTokensLegendService))]
Microsoft.VisualStudio.LanguageServices.Razor (5)
LanguageClient\Cohost\CohostSemanticTokensRegistration.cs (2)
18internal sealed class CohostSemanticTokensRegistration(ISemanticTokensLegendService semanticTokensLegendService) : IDynamicRegistrationProvider 20private readonly ISemanticTokensLegendService _semanticTokensLegendService = semanticTokensLegendService;
Remote\RemoteServiceInvoker.cs (2)
33ISemanticTokensLegendService semanticTokensLegendService, 41private readonly ISemanticTokensLegendService _semanticTokensLegendService = semanticTokensLegendService;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\SemanticTokens\CohostSemanticTokensLegendService.cs (1)
10[Export(typeof(ISemanticTokensLegendService))]
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (4)
Cohost\CohostEndpointTestBase.cs (2)
25private ISemanticTokensLegendService? _semanticTokensLegendService; 30private protected ISemanticTokensLegendService SemanticTokensLegendService => _semanticTokensLegendService.AssumeNotNull();
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostSemanticTokensRangeEndpointTest.cs (2)
465private static string GetTestOutput(SourceText sourceText, int[]? data, ISemanticTokensLegendService legend) 506private static string GetTokenModifierString(int tokenModifiers, ISemanticTokensLegendService legend)
Microsoft.VisualStudioCode.RazorExtension (5)
SemanticTokens\CohostSemanticTokensRegistration.cs (2)
16internal sealed class CohostSemanticTokensRegistration(ISemanticTokensLegendService semanticTokensLegendService) : IDynamicRegistrationProvider 18private readonly ISemanticTokensLegendService _semanticTokensLegendService = semanticTokensLegendService;
Services\VSCodeRemoteServicesInitializer.cs (2)
26ISemanticTokensLegendService semanticTokensLegendService, 32private readonly ISemanticTokensLegendService _semanticTokensLegendService = semanticTokensLegendService;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\SemanticTokens\CohostSemanticTokensLegendService.cs (1)
10[Export(typeof(ISemanticTokensLegendService))]
Microsoft.VisualStudioCode.RazorExtension.UnitTests (4)
CohostEndpointTestBase.cs (2)
26private ISemanticTokensLegendService? _semanticTokensLegendService; 30private protected ISemanticTokensLegendService SemanticTokensLegendService => _semanticTokensLegendService.AssumeNotNull();
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostSemanticTokensRangeEndpointTest.cs (2)
465private static string GetTestOutput(SourceText sourceText, int[]? data, ISemanticTokensLegendService legend) 506private static string GetTokenModifierString(int tokenModifiers, ISemanticTokensLegendService legend)