/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <param name="other">The other.</param> /// <returns></returns> public bool Equals(IAccentColor other) { if (other == null) return false; return Name == other.Name; }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <param name="other">The other.</param> /// <returns></returns> public bool Equals(IAccentColor other) { if (other == null) { return(false); } return(Name == other.Name); }