ApplicationRoleStoreTRole Class |
Namespace: Kentico.Membership
public class ApplicationRoleStore<TRole> : IRoleStore<TRole>, IDisposable where TRole : new(), ApplicationRole
The ApplicationRoleStoreTRole type exposes the following members.
Name | Description | |
---|---|---|
ApplicationRoleStoreTRole |
Initializes a new instance of the ApplicationRoleStoreTRole class.
|
Name | Description | |
---|---|---|
CreateAsync |
Creates a new role in a store as an asynchronous operation.
| |
DeleteAsync |
Deletes a role from the store as an asynchronous operation.
| |
Dispose |
Performs tasks to dispose the role store.
| |
Dispose(Boolean) |
Disposes the role store.
| |
FindByIdAsync(Int32, CancellationToken) |
Finds the role who has the specified ID as an asynchronous operation.
| |
FindByIdAsync(String, CancellationToken) |
Finds the role who has the specified ID as an asynchronous operation.
| |
FindByNameAsync |
Finds the role who has the specified normalized name as an asynchronous operation.
| |
GetNormalizedRoleNameAsync |
Get a role's normalized name as an asynchronous operation.
| |
GetRoleIdAsync |
Gets the ID for a role from the store as an asynchronous operation.
| |
GetRoleNameAsync |
Gets the name of a role from the store as an asynchronous operation.
| |
SetNormalizedRoleNameAsync |
Set a role's normalized name as an asynchronous operation.
| |
SetRoleNameAsync |
Sets the name of a role in the store as an asynchronous operation.
| |
ThrowIfDisposed |
Throws if this class has been disposed.
| |
UpdateAsync |
Updates a role in a store as an asynchronous operation.
|