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);
 }
Exemple #2
0
 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 == other.AverageTechnicalReplicates &&
            Equals(NormalizationMethod, other.NormalizationMethod) &&
            IncludeInteractionTransitions == other.IncludeInteractionTransitions &&
            Equals(SummarizationMethod, other.SummarizationMethod) &&
            ConfidenceLevelTimes100.Equals(other.ConfidenceLevelTimes100) &&
            PerProtein == other.PerProtein &&
            UseZeroForMissingPeaks == other.UseZeroForMissingPeaks &&
            QValueCutoff.Equals(other.QValueCutoff) &&
            ColorRows.SequenceEqual(other.ColorRows));
 }
 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);
     }
 }
Exemple #4
0
 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);
     }
 }