Esempio n. 1
0
        public int CompareTo(TimingPoint other)
        {
            var val = Timing.CompareTo(other.Timing);

            if (val != 0)
            {
                return(val);
            }
            if (IsStart && !other.IsStart)
            {
                return(1);
            }
            if (!IsStart && other.IsStart)
            {
                return(-1);
            }

            return(0);
        }
Esempio n. 2
0
 public int CompareCurrentTo(SyncPoint otherSyncPoint)
 {
     return(current.CompareTo(otherSyncPoint.Current));
 }