Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ ColinearWarning.GetHashCode();
         hashCode = (hashCode * 397) ^ Lambda.GetHashCode();
         hashCode = (hashCode * 397) ^ (PeakFeatureCalculators != null ? PeakFeatureCalculators.GetHashCode() : 0);
         return(hashCode);
     }
 }
Beispiel #2
0
 public bool Equals(MProphetPeakScoringModel other)
 {
     return(base.Equals(other) &&
            ColinearWarning.Equals(other.ColinearWarning) &&
            Lambda.Equals(other.Lambda));
 }