|
@@ -1,4 +1,4 @@
|
|
-#nullable enable
|
|
|
|
|
|
+#nullable enable
|
|
using System.Globalization;
|
|
using System.Globalization;
|
|
using System.Text.Json.Serialization;
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
@@ -83,19 +83,4 @@ public static class Colors
|
|
|
|
|
|
return ColorSchemes;
|
|
return ColorSchemes;
|
|
}
|
|
}
|
|
-
|
|
|
|
- private class SchemeNameComparerIgnoreCase : IEqualityComparer<string>
|
|
|
|
- {
|
|
|
|
- public bool Equals (string x, string y)
|
|
|
|
- {
|
|
|
|
- if (x is { } && y is { })
|
|
|
|
- {
|
|
|
|
- return string.Equals (x, y, StringComparison.InvariantCultureIgnoreCase);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public int GetHashCode (string obj) { return obj.ToLowerInvariant ().GetHashCode (); }
|
|
|
|
- }
|
|
|
|
}
|
|
}
|