public int CompareTo(BaseInstanceMap other) { if (other == null) { return(-1); } return(Serial.CompareTo(other.Serial)); }
public int CompareTo(IEntity other) { if (other == null) { return(-1); } return(Serial.CompareTo(other.Serial)); }
public int CompareTo(BaseInstanceMap other) { return(other != null?Serial.CompareTo(other.Serial) : -1); }
public int CompareTo(IEntity other) => other == null ? -1 : Serial.CompareTo(other.Serial);