Пример #1
0
 internal static void Validate(ExportClienteEventPayload 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(ExportClienteEventPayload toValidate)
 {
     Validate(toValidate, new ArrayList());
 }