public RoleGreaterThanRole(ExtentFiltered extent, IRoleType role, IRoleType greaterThanRole) { extent.CheckRole(role); CompositePredicateAssertions.ValidateRoleGreaterThan(role, greaterThanRole); this.role = role; this.greaterThanRole = greaterThanRole; }
public RoleGreaterThanValue(ExtentFiltered extent, IRoleType roleType, object obj) { extent.CheckRole(roleType); CompositePredicateAssertions.ValidateRoleGreaterThan(roleType, obj); this.roleType = roleType; this.obj = roleType.Normalize(obj); }