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