IdentityBuilder.AddRoleStore<TStore> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.