public override int GetHashCode() { unchecked { var hashCode = NumberOfEvents; hashCode = (hashCode * 397) ^ Day.GetHashCode(); hashCode = (hashCode * 397) ^ FirstActivityAt.GetHashCode(); hashCode = (hashCode * 397) ^ LastActivityAt.GetHashCode(); return(hashCode); } }
protected bool Equals(DeveloperDay other) { return(NumberOfEvents == other.NumberOfEvents && Day.Equals(other.Day) && FirstActivityAt.Equals(other.FirstActivityAt) && LastActivityAt.Equals(other.LastActivityAt)); }