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