Implemented interface member:
method
ValidateAsync
Microsoft.AspNetCore.Identity.IRoleValidator<TRole>.ValidateAsync(Microsoft.AspNetCore.Identity.RoleManager<TRole>, TRole)
3 references to ValidateAsync
Microsoft.AspNetCore.Identity.Test (3)
RoleValidatorTest.cs (3)
17await Assert.ThrowsAsync<ArgumentNullException>("manager", async () => await validator.ValidateAsync(null, null)); 18await Assert.ThrowsAsync<ArgumentNullException>("role", async () => await validator.ValidateAsync(manager, null)); 32var result = await validator.ValidateAsync(manager, user);