Show / Hide Table of Contents

Class IdentityRoleAppService

Inheritance
System.Object
IdentityAppServiceBase
IdentityRoleAppService
Implements
IIdentityRoleAppService
IApplicationService
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Application.dll
Syntax
public class IdentityRoleAppService : IdentityAppServiceBase, IIdentityRoleAppService, IApplicationService

Constructors

IdentityRoleAppService(IdentityRoleManager, IIdentityRoleRepository)

Declaration
public IdentityRoleAppService(IdentityRoleManager roleManager, IIdentityRoleRepository roleRepository)
Parameters
Type Name Description
IdentityRoleManager roleManager
IIdentityRoleRepository roleRepository

Properties

RoleManager

Declaration
protected IdentityRoleManager RoleManager { get; }
Property Value
Type Description
IdentityRoleManager

RoleRepository

Declaration
protected IIdentityRoleRepository RoleRepository { get; }
Property Value
Type Description
IIdentityRoleRepository

Methods

CreateAsync(IdentityRoleCreateDto)

Declaration
public virtual Task<IdentityRoleDto> CreateAsync(IdentityRoleCreateDto input)
Parameters
Type Name Description
IdentityRoleCreateDto input
Returns
Type Description
Task<IdentityRoleDto>

DeleteAsync(Guid)

Declaration
public virtual Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetAllListAsync()

Declaration
public virtual Task<ListResultDto<IdentityRoleDto>> GetAllListAsync()
Returns
Type Description
Task<ListResultDto<IdentityRoleDto>>

GetAsync(Guid)

Declaration
public virtual Task<IdentityRoleDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<IdentityRoleDto>

GetListAsync(PagedAndSortedResultRequestDto)

Declaration
public virtual Task<PagedResultDto<IdentityRoleDto>> GetListAsync(PagedAndSortedResultRequestDto input)
Parameters
Type Name Description
PagedAndSortedResultRequestDto input
Returns
Type Description
Task<PagedResultDto<IdentityRoleDto>>

UpdateAsync(Guid, IdentityRoleUpdateDto)

Declaration
public virtual Task<IdentityRoleDto> UpdateAsync(Guid id, IdentityRoleUpdateDto input)
Parameters
Type Name Description
Guid id
IdentityRoleUpdateDto input
Returns
Type Description
Task<IdentityRoleDto>

Implements

IIdentityRoleAppService
IApplicationService

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft