Implemented interface member:
method
ValidateAsync
Microsoft.AspNetCore.Identity.IUserValidator<TUser>.ValidateAsync(Microsoft.AspNetCore.Identity.UserManager<TUser>, TUser)
5 references to ValidateAsync
Microsoft.AspNetCore.Identity.Test (5)
UserValidatorTest.cs (5)
17
await Assert.ThrowsAsync<ArgumentNullException>("manager", () => validator.
ValidateAsync
(null, null));
18
await Assert.ThrowsAsync<ArgumentNullException>("user", () => validator.
ValidateAsync
(manager, null));
32
var result = await validator.
ValidateAsync
(manager, user);
54
var result = await validator.
ValidateAsync
(manager, user);
82
var result = await validator.
ValidateAsync
(manager, user);