Beispiel #1
0
        public int CompareTo(BaseInstanceMap other)
        {
            if (other == null)
            {
                return(-1);
            }

            return(Serial.CompareTo(other.Serial));
        }
Beispiel #2
0
        public int CompareTo(IEntity other)
        {
            if (other == null)
            {
                return(-1);
            }

            return(Serial.CompareTo(other.Serial));
        }
Beispiel #3
0
 public int CompareTo(BaseInstanceMap other)
 {
     return(other != null?Serial.CompareTo(other.Serial) : -1);
 }
Beispiel #4
0
 public int CompareTo(IEntity other) => other == null ? -1 : Serial.CompareTo(other.Serial);