共用方式為


IdentityBuilder.AddUserManager<TUserManager> 方法

定義

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

類型參數

TUserManager

要新增的使用者管理員類型。

傳回

目前的 IdentityBuilder 執行個體。

適用於