public static bool operator !=(Region l, Region r) { if (Region.IsNull(l)) { return(!Region.IsNull(r)); } if (Region.IsNull(r)) { return(true); } return(l.UId != r.UId); }
public static bool operator ==(Region l, Region r) { if (Region.IsNull(l)) { return(Region.IsNull(r)); } if (Region.IsNull(r)) { return(false); } return(l.UId == r.UId); }
public static bool operator <(Region l, Region r) { if (Region.IsNull(l) && Region.IsNull(r)) { return(false); } if (Region.IsNull(l)) { return(true); } if (Region.IsNull(r)) { return(false); } return(l.Priority > r.Priority); }