RoleValidator<TRole> 클래스

정의

역할의 기본 유효성 검사를 제공합니다.

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)

형식 매개 변수

TRole

역할을 캡슐화하는 형식입니다.

상속
RoleValidator<TRole>
구현

생성자

RoleValidator<TRole>(IdentityErrorDescriber)

RoleValidator<TRole>의 새 인스턴스를 만듭니다.

메서드

ValidateAsync(RoleManager<TRole>, TRole)

역할의 유효성을 비동기 작업으로 유효성을 검사합니다.

적용 대상