/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { var hash = 41; // Suitable nullity checks etc, of course :) if (SortPriority != null) { hash = hash * 59 + SortPriority.GetHashCode(); } if (RemovalDate != null) { hash = hash * 59 + RemovalDate.GetHashCode(); } if (Id != null) { hash = hash * 59 + Id.GetHashCode(); } if (Hc != null) { hash = hash * 59 + Hc.GetHashCode(); } if (AdjustmentFactor != null) { hash = hash * 59 + AdjustmentFactor.GetHashCode(); } if (Bsp != null) { hash = hash * 59 + Bsp.GetHashCode(); } if (Status != null) { hash = hash * 59 + Status.GetHashCode(); } return(hash); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { var hash = 41; // Suitable nullity checks etc, of course :) if (Mb != null) { hash = hash * 59 + Mb.GetHashCode(); } if (Uo != null) { hash = hash * 59 + Uo.GetHashCode(); } if (Id != null) { hash = hash * 59 + Id.GetHashCode(); } if (Hc != null) { hash = hash * 59 + Hc.GetHashCode(); } if (FullImage != null) { hash = hash * 59 + FullImage.GetHashCode(); } if (Ml != null) { hash = hash * 59 + Ml.GetHashCode(); } return(hash); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { var hash = 41; // Suitable nullity checks etc, of course :) if (Tv != null) { hash = hash * 59 + Tv.GetHashCode(); } if (Batb != null) { hash = hash * 59 + Batb.GetHashCode(); } if (Spb != null) { hash = hash * 59 + Spb.GetHashCode(); } if (Bdatl != null) { hash = hash * 59 + Bdatl.GetHashCode(); } if (Trd != null) { hash = hash * 59 + Trd.GetHashCode(); } if (Spf != null) { hash = hash * 59 + Spf.GetHashCode(); } if (Ltp != null) { hash = hash * 59 + Ltp.GetHashCode(); } if (Atb != null) { hash = hash * 59 + Atb.GetHashCode(); } if (Spl != null) { hash = hash * 59 + Spl.GetHashCode(); } if (Spn != null) { hash = hash * 59 + Spn.GetHashCode(); } if (Atl != null) { hash = hash * 59 + Atl.GetHashCode(); } if (Batl != null) { hash = hash * 59 + Batl.GetHashCode(); } if (Id != null) { hash = hash * 59 + Id.GetHashCode(); } if (Hc != null) { hash = hash * 59 + Hc.GetHashCode(); } if (Bdatb != null) { hash = hash * 59 + Bdatb.GetHashCode(); } return(hash); } }