25 references to ColorSchemeName
Microsoft.VisualStudio.LanguageServices (25)
ColorSchemes\ColorSchemeApplier.ClassificationVerifier.cs (3)
66private readonly ImmutableDictionary<ColorSchemeName, ImmutableDictionary<Guid, ImmutableDictionary<string, uint>>> _colorSchemes; 73ImmutableDictionary<ColorSchemeName, ColorScheme> colorSchemes) 95ColorSchemeName schemeName, Guid themeId, CancellationToken cancellationToken)
ColorSchemes\ColorSchemeApplier.cs (6)
40private readonly ImmutableDictionary<ColorSchemeName, ColorScheme> _colorSchemes; 45private ImmutableDictionary<ColorSchemeName, ImmutableArray<RegistryItem>>? _colorSchemeRegistryItems; 136private async Task<ColorSchemeName?> TryGetUpdatedColorSchemeAsync(CancellationToken cancellationToken) 139var appliedColorScheme = await _settings.GetAppliedColorSchemeAsync(cancellationToken).ConfigureAwait(false); 143var configuredColorScheme = await IsSupportedThemeAsync(cancellationToken).ConfigureAwait(false) 145: ColorSchemeName.VisualStudio2017;
ColorSchemes\ColorSchemeApplier.Settings.cs (14)
41public static ImmutableDictionary<ColorSchemeName, ColorScheme> GetColorSchemes() 45ColorSchemeName.VisualStudio2019, 46ColorSchemeName.VisualStudio2017 50private static ColorScheme GetColorScheme(ColorSchemeName schemeName) 56private static Stream GetColorSchemeXmlStream(ColorSchemeName schemeName) 63ColorSchemeName schemeName, ImmutableArray<RegistryItem> registryItems, CancellationToken cancellationToken) 88public async Task<ColorSchemeName> GetAppliedColorSchemeAsync(CancellationToken cancellationToken) 97? (ColorSchemeName)itemKey.GetValue(AppliedColorSchemeName) 101private void SetAppliedColorScheme(ColorSchemeName schemeName) 114public ColorSchemeName GetConfiguredColorScheme() 117return schemeName != ColorSchemeName.None 133var colorScheme = useEnhancedColorsSetting == ColorSchemeOptionsStorage.UseEnhancedColors.DoNotUse 134? ColorSchemeName.VisualStudio2017 135: ColorSchemeName.VisualStudio2019;
Implementation\ColorSchemes\ColorSchemeOptionsStorage.cs (2)
13public static readonly Option2<ColorSchemeName> ColorScheme = new( 15defaultValue: ColorSchemeName.VisualStudio2019);