mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Fix for reflection-based configuration
This commit is contained in:
@@ -63,7 +63,8 @@ public sealed class Colors : INotifyCollectionChanged, IDictionary<string, Color
|
||||
/// </remarks>
|
||||
[SerializableConfigurationProperty (Scope = typeof (ThemeScope), OmitClassName = true)]
|
||||
[JsonConverter (typeof (DictionaryJsonConverter<ColorScheme?>))]
|
||||
public static Dictionary<string, ColorScheme?> ColorSchemes { get; }
|
||||
[UsedImplicitly]
|
||||
public static Dictionary<string, ColorScheme?> ColorSchemes { get; private set; }
|
||||
|
||||
/// <inheritdoc/>
|
||||
public IEnumerator<KeyValuePair<string, ColorScheme?>> GetEnumerator () { return ColorSchemes.GetEnumerator (); }
|
||||
|
||||
Reference in New Issue
Block a user