IdentitySpecificationTestBase<TUser,TRole,TKey>.RoleNameStartsWithPredicate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Query used to do user name prefix matching.
protected:
abstract System::Linq::Expressions::Expression<Func<TRole, bool> ^> ^ RoleNameStartsWithPredicate(System::String ^ roleName);
protected abstract System.Linq.Expressions.Expression<Func<TRole,bool>> RoleNameStartsWithPredicate (string roleName);
abstract member RoleNameStartsWithPredicate : string -> System.Linq.Expressions.Expression<Func<'Role, bool>>
Protected MustOverride Function RoleNameStartsWithPredicate (roleName As String) As Expression(Of Func(Of TRole, Boolean))
Parameters
- roleName
- String
The role name to match.
Returns
- Expression<Func<TRole,Boolean>>
The query to use.