public RoleBetweenRole(ExtentFiltered extent, IRoleType role, IRoleType first, IRoleType second) { extent.CheckRole(role); CompositePredicateAssertions.ValidateRoleBetween(role, first, second); this.role = role; this.first = first; this.second = second; }
public RoleBetweenValue(ExtentFiltered extent, IRoleType roleType, object first, object second) { extent.CheckRole(roleType); CompositePredicateAssertions.ValidateRoleBetween(roleType, first, second); this.roleType = roleType; this.first = roleType.Normalize(first); this.second = roleType.Normalize(second); }