共用方式為


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 從中擷取錯誤文字的 。

適用於