Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = LabelType.GetHashCode();
         result = (result * 397) ^ (StandardType == null ? 0 : StandardType.GetHashCode());
         result = (result * 397) ^ (Ratio == null ? 0 : Ratio.GetHashCode());
         return(result);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Peptide != null ? Peptide.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Protein != null ? Protein.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LabelType != null ? LabelType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ MsLevel.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = _peptide.GetHashCode();
         result = (result * 397) ^ PrecursorCharge;
         result = (result * 397) ^ LabelType.GetHashCode();
         result = (result * 397) ^ (DecoyMassShift.HasValue ? DecoyMassShift.Value : 0);
         return(result);
     }
 }
Beispiel #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = _peptide.GetHashCode();
         result = (result * 397) ^ PrecursorAdduct.GetHashCode();
         result = (result * 397) ^ LabelType.GetHashCode();
         result = (result * 397) ^ (DecoyMassShift ?? 0);
         return(result);
     }
 }
Beispiel #5
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Client != null ? Client.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (IntensityModel != null ? IntensityModel.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (RTModel != null ? RTModel.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Settings != null ? Settings.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Peptide != null ? Peptide.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Precursor != null ? Precursor.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LabelType != null ? LabelType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ NCE;
         return(hashCode);
     }
 }