protected bool Equals(AreaCVRefinementSettings other) { return(MsLevel == other.MsLevel && Transitions == other.Transitions && CountTransitions == other.CountTransitions && NormalizeOption == other.NormalizeOption && Equals(Group, other.Group) && Equals(Annotation, other.Annotation) && PointsType == other.PointsType && QValueCutoff.Equals(other.QValueCutoff) && CVCutoff.Equals(other.CVCutoff) && MinimumDetections == other.MinimumDetections); }
public override int GetHashCode() { unchecked { var hashCode = MsLevel.GetHashCode(); hashCode = (hashCode * 397) ^ (int)Transitions; hashCode = (hashCode * 397) ^ CountTransitions; hashCode = (hashCode * 397) ^ NormalizeOption.GetHashCode(); hashCode = (hashCode * 397) ^ (Group != null ? Group.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Annotation != null ? Annotation.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)PointsType; hashCode = (hashCode * 397) ^ QValueCutoff.GetHashCode(); hashCode = (hashCode * 397) ^ CVCutoff.GetHashCode(); hashCode = (hashCode * 397) ^ MinimumDetections; return(hashCode); } }