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