예제 #1
0
 /// <summary>
 /// Compares the <see cref="SignalReferenceMeasurement"/> with the specified <see cref="Object"/>.
 /// </summary>
 /// <param name="obj">The <see cref="Object"/> to compare with the current <see cref="SignalReferenceMeasurement"/>.</param>
 /// <returns>A 32-bit signed integer that indicates the relative order of the objects being compared.</returns>
 /// <exception cref="ArgumentException"><paramref name="obj"/> is not an <see cref="IMeasurement"/>.</exception>
 /// <remarks>Measurement implementations should compare by hash code.</remarks>
 public int CompareTo(object obj)
 {
     return(m_measurement.CompareTo(obj));
 }
예제 #2
0
 /// <summary>
 /// Compares the <see cref="SignalReferenceMeasurement"/> with the specified <see cref="Object"/>.
 /// </summary>
 /// <param name="obj">The <see cref="Object"/> to compare with the current <see cref="SignalReferenceMeasurement"/>.</param>
 /// <returns>A 32-bit signed integer that indicates the relative order of the objects being compared.</returns>
 /// <exception cref="ArgumentException"><paramref name="obj"/> is not an <see cref="IMeasurement"/>.</exception>
 /// <remarks>Measurement implementations should compare by hash code.</remarks>
 public int CompareTo(object obj) => m_measurement.CompareTo(obj);