다음을 통해 공유


IdentityBuilder.AddRoleManager<TRoleManager> 메서드

정의

에 대한 를 RoleManager<TRole> 추가합니다 RoleType.

public:
generic <typename TRoleManager>
 where TRoleManager : class virtual Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddRoleManager();
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddRoleManager<TRoleManager> () where TRoleManager : class;
abstract member AddRoleManager : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'RoleManager : null)
override this.AddRoleManager : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'RoleManager : null)
Public Overridable Function AddRoleManager(Of TRoleManager As Class) () As IdentityBuilder

형식 매개 변수

TRoleManager

추가할 역할 관리자의 유형입니다.

반환

현재 IdentityBuilder 인스턴스입니다.

적용 대상