Esempio n. 1
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.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));
 }
Esempio 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) ^ 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);
     }
 }