IdentityBuilder.AddUserStore<TStore> 方法

定义

public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddUserStore<T> () where T : class;
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddUserStore<TUser> () where TUser : class;
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddUserStore<TStore> () where TStore : class;
abstract member AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'T : null)
override this.AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'T : null)
abstract member AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
override this.AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
abstract member AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Store : null)
override this.AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Store : null)
Public Overridable Function AddUserStore(Of T As Class) () As IdentityBuilder
Public Overridable Function AddUserStore(Of TUser As Class) () As IdentityBuilder
Public Overridable Function AddUserStore(Of TStore As Class) () As IdentityBuilder

类型参数

T TUser TStore

用户存储类型。

返回

当前的 IdentityBuilder 实例。

适用于