Beispiel #1
0
 internal static void Validate(ExportClienteInput 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);
 }
Beispiel #2
0
 public static void Validate(ExportClienteInput toValidate)
 {
     Validate(toValidate, new ArrayList());
 }