اقرأ باللغة الإنجليزية

مشاركة عبر


UserValidator<TUser> Class

Definition

Provides validation services for user classes.

C#
public class UserValidator<TUser> : Microsoft.AspNetCore.Identity.IUserValidator<TUser> where TUser : class

Type Parameters

TUser

The type encapsulating a user.

Inheritance
UserValidator<TUser>
Implements

Constructors

Properties

Describer

Gets the IdentityErrorDescriber used to provider error messages for the current UserValidator<TUser>.

Methods

ValidateAsync(UserManager<TUser>, TUser)

Validates the specified user as an asynchronous operation.

Applies to

منتج الإصدارات
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0