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"); } }
public static void Validate(BlobReference toValidate) { Validate(toValidate, new ArrayList()); }