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