IdentitySpecificationTestBase<TUser,TRole,TKey>.RoleNameEqualsPredicate 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 name equality checks.
protected:
abstract System::Linq::Expressions::Expression<Func<TRole, bool> ^> ^ RoleNameEqualsPredicate(System::String ^ roleName);
protected abstract System.Linq.Expressions.Expression<Func<TRole,bool>> RoleNameEqualsPredicate (string roleName);
abstract member RoleNameEqualsPredicate : string -> System.Linq.Expressions.Expression<Func<'Role, bool>>
Protected MustOverride Function RoleNameEqualsPredicate (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.