RoleValidator<TRole>(IdentityErrorDescriber) Constructor

Definition

Creates a new instance of RoleValidator<TRole>.

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

Parameters

errors
IdentityErrorDescriber

The IdentityErrorDescriber used to provider error messages.

Applies to