Aracılığıyla paylaş


IdentityBuilder.AddRoleManager<TRoleManager> Yöntem

Tanım

için RoleTypebir RoleManager<TRole> ekler.

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

Tür Parametreleri

TRoleManager

Eklenecek rol yöneticisinin türü.

Döndürülenler

Geçerli IdentityBuilder örnek.

Şunlara uygulanır