Ejemplo n.º 1
0
 /// <summary>
 /// Indicates the relative sort order of this object to another of the same type.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public int CompareTo(EventMetric other)
 {
     //we let our internal objects do the compare, we're really just wrapping things
     return(WrappedMetric.CompareTo(other.WrappedMetric));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Compare this sampled metric to another sampled metric.
 /// </summary>
 /// <param name="other">The sampled metric to compare this sampled metric to.</param>
 /// <returns>A value which is less than, equal to, or greater than zero to represent the comparison result.</returns>
 public int CompareTo(SampledMetric other)
 {
     //we let our base object do the compare, we're really just casting things
     return(WrappedMetric.CompareTo(other.WrappedMetric));
 }