public static bool CheckWith(Reference[] references, IReferenceIntegrityCheck check) { return references.Aggregate(true, (checkResult, reference) => check.IsSatisfiedBy(reference) && checkResult); }
public static bool CheckWith(Reference[] references, IReferenceIntegrityCheck check) { return references.Aggregate(true, (checkResult, reference) => check.IsSatisfiedBy(reference) && checkResult); }