RoleValidator<TRole> Classe

Definizione

Fornisce la convalida predefinita dei ruoli.

generic <typename TRole>
 where TRole : classpublic ref class RoleValidator : Microsoft::AspNetCore::Identity::IRoleValidator<TRole>
public class RoleValidator<TRole> : Microsoft.AspNetCore.Identity.IRoleValidator<TRole> where TRole : class
type RoleValidator<'Role (requires 'Role : null)> = class
    interface IRoleValidator<'Role (requires 'Role : null)>
Public Class RoleValidator(Of TRole)
Implements IRoleValidator(Of TRole)

Parametri di tipo

TRole

Tipo che incapsula un ruolo.

Ereditarietà
RoleValidator<TRole>
Implementazioni

Costruttori

RoleValidator<TRole>(IdentityErrorDescriber)

Crea una nuova istanza di RoleValidator<TRole>.

Metodi

ValidateAsync(RoleManager<TRole>, TRole)

Convalida un ruolo come operazione asincrona.

Si applica a