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