public bool Equals(UIFont other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Name, other.Name) && Baseline.Equals(other.Baseline)); }