UserValidator<TUser>(IdentityErrorDescriber) 构造函数

定义

创建 UserValidator<TUser> 的新实例。

public UserValidator (Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors = default);
public UserValidator (Microsoft.AspNetCore.Identity.IdentityErrorDescriber? errors = default);
new Microsoft.AspNetCore.Identity.UserValidator<'User (requires 'User : null)> : Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.UserValidator<'User (requires 'User : null)>
Public Sub New (Optional errors As IdentityErrorDescriber = Nothing)

参数

errors
IdentityErrorDescriber

IdentityErrorDescriber用于提供错误消息的 。

适用于