UserManagerSpecificationTestBase<TUser,TKey>.UserNameEqualsPredicate 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<TUser, bool> ^> ^ UserNameEqualsPredicate(System::String ^ userName);
protected abstract System.Linq.Expressions.Expression<Func<TUser,bool>> UserNameEqualsPredicate (string userName);
abstract member UserNameEqualsPredicate : string -> System.Linq.Expressions.Expression<Func<'User, bool>>
Protected MustOverride Function UserNameEqualsPredicate (userName As String) As Expression(Of Func(Of TUser, Boolean))
Parameters
- userName
- String
The user name to match.
Returns
- Expression<Func<TUser,Boolean>>
The query to use.