internal RoleContains(ExtentFiltered extent, IRoleType role, IObject allorsObject) { extent.CheckRole(role); PredicateAssertions.ValidateRoleContains(role, allorsObject); this.role = role; this.allorsObject = allorsObject; }
internal RoleContains(ExtentFiltered extent, IRoleType roleType, IObject containedObject) { extent.CheckForRoleType(roleType); PredicateAssertions.ValidateRoleContains(roleType, containedObject); this.roleType = roleType; this.containedObject = containedObject; }