public override int GetHashCode() { unchecked { var hashCode = Build.GetHashCode(); hashCode = hashCode * 397 ^ PreviousBuild.GetHashCode(); hashCode = hashCode * 397 ^ Hash.GetHashCode(); hashCode = hashCode * 397 ^ Date.GetHashCode(); hashCode = hashCode * 397 ^ LastAddition.GetHashCode(); return(hashCode); } }
public bool Equals(BrNewCosmeticsV2 other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Build == other.Build && PreviousBuild == other.PreviousBuild && Hash == other.Hash && Date.Equals(other.Date) && LastAddition.Equals(other.LastAddition)); }