Пример #1
0
 internal static void Validate(CreateBulkClienteInput toValidate, IList validated)
 {
     if (validated.Contains(toValidate))
     {
         return;
     }
     validated.Add(toValidate);
     if (toValidate.Entities == null || toValidate.Entities.Count == 0)
     {
         throw new ArgumentException("Entities is required, at least one value must be present");
     }
 }
Пример #2
0
 public static void Validate(CreateBulkClienteInput toValidate)
 {
     Validate(toValidate, new ArrayList());
 }