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 |
Returns
System.Threading.Tasks.Task<TRole>
The System.Threading.Tasks.Task that represents the asynchronous creation operation, containing the created |