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