7 writes to UserName
Microsoft.AspNetCore.Identity.InMemory.Test (7)
ControllerTest.cs (2)
45
UserName
= "Yolo"
96
UserName
= "Yolo"
InMemoryStoreTest.cs (1)
38
UserName
= useNamePrefixAsUserName ? namePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", namePrefix, Guid.NewGuid()),
InMemoryUserStore.cs (1)
217
user.
UserName
= userName;
InMemoryUserStoreTest.cs (1)
34
UserName
= useNamePrefixAsUserName ? namePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", namePrefix, Guid.NewGuid()),
src\Identity\test\Shared\PocoModel\PocoUser.cs (2)
25
UserName
= userName;
46
UserName
= userName;
5 references to UserName
Microsoft.AspNetCore.Identity.InMemory.Test (5)
InMemoryStoreTest.cs (2)
52
protected override Expression<Func<PocoUser, bool>> UserNameEqualsPredicate(string userName) => u => u.
UserName
== userName;
56
protected override Expression<Func<PocoUser, bool>> UserNameStartsWithPredicate(string userName) => u => u.
UserName
.StartsWith(userName, StringComparison.Ordinal);
InMemoryUserStore.cs (1)
212
return Task.FromResult(user.
UserName
);
InMemoryUserStoreTest.cs (2)
42
protected override Expression<Func<PocoUser, bool>> UserNameEqualsPredicate(string userName) => u => u.
UserName
== userName;
44
protected override Expression<Func<PocoUser, bool>> UserNameStartsWithPredicate(string userName) => u => u.
UserName
.StartsWith(userName, StringComparison.Ordinal);