RoleValidator<TRole> Sınıf

Tanım

Rollerin varsayılan doğrulamasını sağlar.

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)

Tür Parametreleri

TRole

Rolü kapsülleyen tür.

Devralma
RoleValidator<TRole>
Uygulamalar

Oluşturucular

RoleValidator<TRole>(IdentityErrorDescriber)

RoleValidator<TRole> öğesinin yeni bir örneğini oluşturur.

Yöntemler

ValidateAsync(RoleManager<TRole>, TRole)

Bir rolü zaman uyumsuz bir işlem olarak doğrular.

Şunlara uygulanır