public static void EnsureInnerReferenceExists <TLink>(this ILinks <TLink> links, IList <TLink> restrictions, string argumentName) { for (int i = 0; i < restrictions.Count; i++) { links.EnsureInnerReferenceExists(restrictions[i], argumentName); } }
public static void EnsureInnerReferenceExists <TLink>(this ILinks <TLink> links, IList <TLink> restrictions, string argumentName) { for (int i = 0; i < restrictions.Count; i++) { links.EnsureInnerReferenceExists(restrictions[i], argumentName); } }