public RoleLessThanValue(ExtentFiltered extent, IRoleType roleType, object obj) { extent.CheckRole(roleType); CompositePredicateAssertions.ValidateRoleLessThan(roleType, obj); this.roleType = roleType; this.obj = roleType.Normalize(obj); }
public RoleLessThanRole(ExtentFiltered extent, IRoleType role, IRoleType lessThanRole) { extent.CheckRole(role); CompositePredicateAssertions.ValidateRoleLessThan(role, lessThanRole); this.role = role; this.lessThanRole = lessThanRole; }