Пример #1
0
 /// <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(PerfCounterMetricPacket other)
 {
     //we let our base object do the compare, we're realy just casting things
     return(base.Equals(other));
 }
Пример #2
0
 /// <summary>
 /// Compare this object to another.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public int CompareTo(PerfCounterMetricPacket other)
 {
     //we just gateway to our base object.
     return(base.CompareTo(other));
 }