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 实例。

适用于