Example #1
0
 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);
 }
Example #2
0
 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);
 }
Example #3
0
 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);
 }