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)

ロールを非同期操作として検証します。

適用対象