/// <summary> /// Determines if the provided object is identical to this object. /// </summary> /// <param name="other">The object to compare this object to</param> /// <returns>True if the objects represent the same data.</returns> public bool Equals(EventMetricSample other) { //We're really just a type cast, refer to our base object return(WrappedSample.Equals(other.WrappedSample)); }
/// <summary> /// Compare this object to another to determine sort order /// </summary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(EventMetricSample other) { //we just gateway to our base object. return(WrappedSample.CompareTo(other.WrappedSample)); }