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

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

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