Esempio n. 1
0
        public int CompareTo(Mine other)
        {
            var cmp = Delay.CompareTo(other.Delay);

            if (cmp == 0)
            {
                cmp = Id.CompareTo(other.Id);
            }

            return(cmp);
        }
 public int CompareTo(Path <T> other)
 {
     return(Delay.CompareTo(other.Delay));
 }
Esempio n. 3
0
 public int CompareTo(Tasks other)
 {
     return(Delay.CompareTo(other.Delay));
 }
Esempio n. 4
0
 public int CompareTo(NetworkRoute <T> other)
 {
     return(Delay.CompareTo(other.Delay));
 }
Esempio n. 5
0
 public int CompareTo(TimerCallback other) => other == null ? 1 : Delay.CompareTo(other.Delay);