public AssociationContainedInExtent(ExtentFiltered extent, IAssociationType association, Allors.Extent inExtent) { extent.CheckAssociation(association); CompositePredicateAssertions.AssertAssociationContainedIn(association, inExtent); this.association = association; this.inExtent = ((Extent)inExtent).ContainedInExtent; }
public AssociationContainedInEnumerable(ExtentFiltered extent, IAssociationType association, IEnumerable <IObject> enumerable) { extent.CheckAssociation(association); CompositePredicateAssertions.AssertAssociationContainedIn(association, this.enumerable); this.association = association; this.enumerable = enumerable; }