public override void ValidateLinks(Sitecore.Links.LinksValidationResult result) { foreach (string str in this.Items) { if (ID.IsID(str)) { ID id = ID.Parse(str); if (!ItemUtil.IsNull(id) && !id.IsNull) { Item targetItem = SourceDatabase.Items[id]; if (targetItem != null) { result.AddValidLink(targetItem, base.InnerField.Value); } else { result.AddBrokenLink(base.InnerField.Value); } } } } }