IRoleValidator<TRole> 介面

定義

提供驗證角色的抽象概念。

generic <typename TRole>
 where TRole : classpublic interface class IRoleValidator
public interface IRoleValidator<TRole> where TRole : class
type IRoleValidator<'Role (requires 'Role : null)> = interface
Public Interface IRoleValidator(Of TRole)

類型參數

TRole

封裝角色的類型。

衍生

方法

ValidateAsync(RoleManager<TRole>, TRole)

將角色驗證為非同步作業。

適用於