public void CombinePoints(ChromatographicPeak otherPoint) { if (!Time.Equals(otherPoint.Time)) { throw new ArgumentException("The two chromatogram points don't have the same time"); } Intensity += otherPoint.Intensity; }
public int CompareTo(ChromatographicPeak other) { return Time.CompareTo(other.Time); }
public int CompareTo(ChromatographicPeak other) { return(Time.CompareTo(other.Time)); }