internal static TrackingInfo CreateNull() { Symbol defaultSym = Symbol.NewDefault(); TrackingInfo self = new TrackingInfo(defaultSym); return(self); }
public override int CompareTrackingInfo(TrackingInfo aLeft, TrackingInfo aRight) { int ret = 1; // if (aLeft.AssociatedMemory < aRight.AssociatedMemory) { ret = -1; } else if (aLeft.AssociatedMemory == aRight.AssociatedMemory) { ret = 0; } // return(ret); }
public override int CompareTrackingInfo(TrackingInfo aLeft, TrackingInfo aRight) { int ret = -1; // if (aLeft.PayloadLength == aRight.PayloadLength) { ret = 0; } else if (aLeft.PayloadLength > aRight.PayloadLength) { ret = 1; } // return(ret); }
public override int CompareTrackingInfo(TrackingInfo aLeft, TrackingInfo aRight) { int ret = -1; // if (aLeft.Count == aRight.Count) { ret = 0; } else if (aLeft.Count > aRight.Count) { ret = 1; } // return(ret); }
public override int CompareTrackingInfo(TrackingInfo aLeft, TrackingInfo aRight) { return(aLeft.Symbol.Name.CompareTo(aRight.Symbol.Name)); }