Dela via


UserValidator<TUser>(IdentityErrorDescriber) Constructor

Definition

Creates a new instance of 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)

Parameters

errors
IdentityErrorDescriber

The IdentityErrorDescriber used to provider error messages.

Applies to