PasswordValidator<TUser>(IdentityErrorDescriber) 构造函数

定义

构造 的新实例 PasswordValidator<TUser>

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

参数

errors
IdentityErrorDescriber

IdentityErrorDescriber要从中检索错误文本的 。

适用于