6 overrides of UserNameStartsWithPredicate
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (4)
SqlStoreOnlyUsersTestBase.cs (1)
47
protected override Expression<Func<TUser, bool>>
UserNameStartsWithPredicate
(string userName) => u => u.UserName.StartsWith(userName);
SqlStoreTestBase.cs (1)
90
protected override Expression<Func<TUser, bool>>
UserNameStartsWithPredicate
(string userName) => u => u.UserName.StartsWith(userName);
UserStoreTest.cs (1)
420
protected override Expression<Func<IdentityUser, bool>>
UserNameStartsWithPredicate
(string userName) => u => u.UserName.StartsWith(userName);
UserStoreWithGenericsTest.cs (1)
73
protected override Expression<Func<IdentityUserWithGenerics, bool>>
UserNameStartsWithPredicate
(string userName) => u => u.UserName.StartsWith(userName);
Microsoft.AspNetCore.Identity.InMemory.Test (2)
InMemoryStoreTest.cs (1)
56
protected override Expression<Func<PocoUser, bool>>
UserNameStartsWithPredicate
(string userName) => u => u.UserName.StartsWith(userName, StringComparison.Ordinal);
InMemoryUserStoreTest.cs (1)
44
protected override Expression<Func<PocoUser, bool>>
UserNameStartsWithPredicate
(string userName) => u => u.UserName.StartsWith(userName, StringComparison.Ordinal);
1 reference to UserNameStartsWithPredicate
Microsoft.AspNetCore.Identity.Specification.Tests (1)
UserManagerSpecificationTests.cs (1)
941
Assert.Equal(users.Count, mgr.Users.Count(
UserNameStartsWithPredicate
("CanFindUsersViaUserQueryable")));