public override int CompareTo(object obj) { Removal other = obj as Removal; if (other == null) { return(1); } if (other == this) { return(0); } int cmp = Origin.CompareTo(other.Origin); if (cmp != 0) { return(cmp); } return(Target.CompareTo(other.Target)); }
public int CompareTo(EntityInfo other) { return(EntityID.CompareTo(other.EntityID)); }