protected bool Equals(InteractionStatistics other) { return(DayFirst.Equals(other.DayFirst) && DayLast.Equals(other.DayLast) && NumDays == other.NumDays && NumMonth == other.NumMonth && NumEventsTotal == other.NumEventsTotal && EqualityUtils.Equals(NumEventsDetailed, other.NumEventsDetailed) && Education == other.Education && Position == other.Position && NumCodeCompletion == other.NumCodeCompletion && NumTestRuns == other.NumTestRuns && ActiveTime.Equals(other.ActiveTime)); }
public override int GetHashCode() { unchecked { var hashCode = 2954786; hashCode = (hashCode * 397) ^ DayFirst.GetHashCode(); hashCode = (hashCode * 397) ^ DayLast.GetHashCode(); hashCode = (hashCode * 397) ^ NumDays; hashCode = (hashCode * 397) ^ NumMonth; hashCode = (hashCode * 397) ^ NumEventsTotal; hashCode = (hashCode * 397) ^ HashCodeUtils.For(397, NumEventsDetailed); hashCode = (hashCode * 397) ^ (int)Education; hashCode = (hashCode * 397) ^ (int)Position; hashCode = (hashCode * 397) ^ NumCodeCompletion; hashCode = (hashCode * 397) ^ NumTestRuns; hashCode = (hashCode * 397) ^ ActiveTime.GetHashCode(); return(hashCode); } }