Exemplo n.º 1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = IsolationWindowTargetMz.GetHashCode();
         hashCode = (hashCode * 397) ^ IsolationWindowLowerOffset.GetHashCode();
         hashCode = (hashCode * 397) ^ IsolationWindowUpperOffset.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Comparer for sorting, orders by Target m/z
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public int CompareTo(IsolationWindow other)
 {
     return(IsolationWindowTargetMz.CompareTo(other.IsolationWindowTargetMz));
 }