Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
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);
     }
 }