Ejemplo n.º 1
0
 public bool Equals(Theme other)
 {
     return(other != null &&
            DarkEditor == other.DarkEditor &&
            TextStyle.Equals(other.TextStyle) &&
            Color.Equals(other.Color) &&
            BackgroundPath.Equals(other.BackgroundPath) &&
            PointerPath.Equals(other.PointerPath) &&
            DefaultIconPath.Equals(other.DefaultIconPath) &&
            PointerScale.Equals(other.PointerScale));
 }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     return(BackgroundPath != null ? BackgroundPath.GetHashCode() : 0);
 }