Sdílet prostřednictvím


RoleValidator<TRole>(IdentityErrorDescriber) Konstruktor

Definice

Vytvoří novou instanci položky 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)

Parametry

errors
IdentityErrorDescriber

Chybové IdentityErrorDescriber zprávy použité k poskytovateli.

Platí pro