Show / Hide Table of Contents

Interface ITemplateRoleFactory<TRole>

Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface ITemplateRoleFactory<TRole>
    where TRole : class, IRole
Type Parameters
TRole

Methods

CreateAsync(IRoleTemplate)

Creates a TRole from a role template asynchronously.

Declaration
Task<TRole> CreateAsync(IRoleTemplate template)
Parameters
IRoleTemplate template

The role template to create a TRole from.

Returns
System.Threading.Tasks.Task<TRole>

The System.Threading.Tasks.Task that represents the asynchronous creation operation, containing the created TRole.

Back to top Generated by DocFX