Compartir a través de


IdentityBuilder.AddRoleStore<TStore> Método

Definición

Agrega un IRoleStore<TRole> para .RoleType

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

Parámetros de tipo

T TRole TStore

Almacén de roles.

Devoluciones

Instancia de IdentityBuilder actual.

Se aplica a