/// <inheritdoc /> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; if (Type != null) { hashCode = hashCode * 59 + Type.GetHashCode(); } if (Enabled != null) { hashCode = hashCode * 59 + Enabled.GetHashCode(); } if (Groups != null) { hashCode = hashCode * 59 + Groups.GetHashCode(); } if (GroupsArray != null) { hashCode = hashCode * 59 + GroupsArray.GetHashCode(); } if (Aggregations != null) { hashCode = hashCode * 59 + Aggregations.GetHashCode(); } if (GroupsSrc != null) { hashCode = hashCode * 59 + GroupsSrc.GetHashCode(); } return(hashCode); } }