Partager via


IdentityBuilder.AddRoleStore<TStore> Méthode

Définition

Ajoute un IRoleStore<TRole> pour .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

Paramètres de type

T TRole TStore

Magasin de rôles.

Retours

Instance actuelle de IdentityBuilder.

S’applique à