예제 #1
0
 internal static void Validate(ExportPedidoOutput toValidate, IList validated)
 {
     if (validated.Contains(toValidate))
     {
         return;
     }
     validated.Add(toValidate);
     if (toValidate.ExportJobId == null)
     {
         throw new ArgumentException("ExportJobId is required");
     }
 }
예제 #2
0
 public static void Validate(ExportPedidoOutput toValidate)
 {
     Validate(toValidate, new ArrayList());
 }