UserManagerSpecificationTestBase<TUser,TKey>.UserNameStartsWithPredicate 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<TUser, bool> ^> ^ UserNameStartsWithPredicate(System::String ^ userName);
protected abstract System.Linq.Expressions.Expression<Func<TUser,bool>> UserNameStartsWithPredicate (string userName);
abstract member UserNameStartsWithPredicate : string -> System.Linq.Expressions.Expression<Func<'User, bool>>
Protected MustOverride Function UserNameStartsWithPredicate (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.