Exemple #1
0
 public Theme(
     IReadOnlyDictionary <AppColor, Color> appColors,
     IReadOnlyDictionary <KnownColor, Color> sysColors,
     ThemeId id)
 {
     Id             = id;
     AppColorValues = appColors;
     SysColorValues = sysColors;
 }
Exemple #2
0
 private bool Equals(ThemeId other) =>
 string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase) &&
 IsBuiltin == other.IsBuiltin;