/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = IsolationWindowTargetMz.GetHashCode(); hashCode = (hashCode * 397) ^ IsolationWindowLowerOffset.GetHashCode(); hashCode = (hashCode * 397) ^ IsolationWindowUpperOffset.GetHashCode(); return(hashCode); } }
/// <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)); }