private bool Equals(GroupComparisonDef other) { return(base.Equals(other) && string.Equals(ControlAnnotation, other.ControlAnnotation) && string.Equals(ControlValue, other.ControlValue) && string.Equals(CaseValue, other.CaseValue) && string.Equals(IdentityAnnotation, other.IdentityAnnotation) && AverageTechnicalReplicates.Equals(other.AverageTechnicalReplicates) && SumTransitions.Equals(other.SumTransitions) && Equals(NormalizationMethod, other.NormalizationMethod) && IncludeInteractionTransitions.Equals(other.IncludeInteractionTransitions) && Equals(SummarizationMethod, other.SummarizationMethod) && Equals(ConfidenceLevel, other.ConfidenceLevel) && Equals(PerProtein, other.PerProtein)); }
public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (ControlAnnotation != null ? ControlAnnotation.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ControlValue != null ? ControlValue.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CaseValue != null ? CaseValue.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (IdentityAnnotation != null ? IdentityAnnotation.GetHashCode() : 0); hashCode = (hashCode * 397) ^ AverageTechnicalReplicates.GetHashCode(); hashCode = (hashCode * 397) ^ SumTransitions.GetHashCode(); hashCode = (hashCode * 397) ^ NormalizationMethod.GetHashCode(); hashCode = (hashCode * 397) ^ IncludeInteractionTransitions.GetHashCode(); hashCode = (hashCode * 397) ^ SummarizationMethod.GetHashCode(); hashCode = (hashCode * 397) ^ ConfidenceLevel.GetHashCode(); hashCode = (hashCode * 397) ^ PerProtein.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (ControlAnnotation != null ? ControlAnnotation.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ControlValue != null ? ControlValue.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CaseValue != null ? CaseValue.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (IdentityAnnotation != null ? IdentityAnnotation.GetHashCode() : 0); hashCode = (hashCode * 397) ^ AverageTechnicalReplicates.GetHashCode(); hashCode = (hashCode * 397) ^ (NormalizationMethod != null ? NormalizationMethod.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IncludeInteractionTransitions.GetHashCode(); hashCode = (hashCode * 397) ^ (SummarizationMethod != null ? SummarizationMethod.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ConfidenceLevelTimes100.GetHashCode(); hashCode = (hashCode * 397) ^ PerProtein.GetHashCode(); hashCode = (hashCode * 397) ^ UseZeroForMissingPeaks.GetHashCode(); hashCode = (hashCode * 397) ^ QValueCutoff.GetHashCode(); hashCode = (hashCode * 397) ^ (ColorRows != null ? ColorRows.GetHashCode() : 0); return(hashCode); } }