Share via


RoleManager<TRole>.RoleValidators 属性

定义

获取在持久性之前要调用的角色的验证程序列表。

public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Identity::IRoleValidator<TRole> ^> ^ RoleValidators { System::Collections::Generic::IList<Microsoft::AspNetCore::Identity::IRoleValidator<TRole> ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.IRoleValidator<TRole>> RoleValidators { get; }
member this.RoleValidators : System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.IRoleValidator<'Role>>
Public ReadOnly Property RoleValidators As IList(Of IRoleValidator(Of TRole))

属性值

暂留前要调用的角色的验证程序列表。

适用于