/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (DamShowexpired != null) { hashCode = hashCode * 59 + DamShowexpired.GetHashCode(); } if (DamShowhidden != null) { hashCode = hashCode * 59 + DamShowhidden.GetHashCode(); } if (TagTitleSearch != null) { hashCode = hashCode * 59 + TagTitleSearch.GetHashCode(); } if (GuessTotal != null) { hashCode = hashCode * 59 + GuessTotal.GetHashCode(); } if (DamExpiryProperty != null) { hashCode = hashCode * 59 + DamExpiryProperty.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (GuessTotal != null) { hashCode = hashCode * 59 + GuessTotal.GetHashCode(); } if (TagTitleSearch != null) { hashCode = hashCode * 59 + TagTitleSearch.GetHashCode(); } return(hashCode); } }