Condividi tramite


IdentityBuilder.AddRoleStore<TStore> Metodo

Definizione

Aggiunge un IRoleStore<TRole> oggetto per .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

Parametri di tipo

T TRole TStore

Archivio ruoli.

Restituisce

L'istanza IdentityBuilder corrente.

Si applica a