public static bool IsDefined(QueuedDeliveryRequirementsMode x)
 {
     if ((x != QueuedDeliveryRequirementsMode.Allowed) && (x != QueuedDeliveryRequirementsMode.Required))
     {
         return (x == QueuedDeliveryRequirementsMode.NotAllowed);
     }
     return true;
 }
 static public bool IsDefined(QueuedDeliveryRequirementsMode x)
 {
     return
         x == QueuedDeliveryRequirementsMode.Allowed ||
         x == QueuedDeliveryRequirementsMode.Required ||
         x == QueuedDeliveryRequirementsMode.NotAllowed ||
         false;
 }
 static public bool IsDefined(QueuedDeliveryRequirementsMode x)
 {
     return
         (x == QueuedDeliveryRequirementsMode.Allowed ||
          x == QueuedDeliveryRequirementsMode.Required ||
          x == QueuedDeliveryRequirementsMode.NotAllowed ||
          false);
 }
示例#4
0
 public static bool IsDefined(QueuedDeliveryRequirementsMode x)
 {
     if ((x != QueuedDeliveryRequirementsMode.Allowed) && (x != QueuedDeliveryRequirementsMode.Required))
     {
         return(x == QueuedDeliveryRequirementsMode.NotAllowed);
     }
     return(true);
 }