Пример #1
0
 internal static void Validate(ImportPedidoEventPayload toValidate, IList validated)
 {
     if (validated.Contains(toValidate))
     {
         return;
     }
     validated.Add(toValidate);
     if (toValidate.Eventpl == null)
     {
         throw new ArgumentException("Eventpl is required");
     }
     toValidate.Eventpl.Validate(validated);
 }
Пример #2
0
 public static void Validate(ImportPedidoEventPayload toValidate)
 {
     Validate(toValidate, new ArrayList());
 }