Show / Hide Table of Contents

Class FeatureAppService

Inheritance
object
ApplicationService
FeatureManagementAppServiceBase
FeatureAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IFeatureAppService
IApplicationService
IRemoteService
Inherited Members
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.StringLocalizerFactory
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.FeatureManagement
Assembly: Volo.Abp.FeatureManagement.Application.dll
Syntax
[Authorize]
public class FeatureAppService : FeatureManagementAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IFeatureAppService, IApplicationService, IRemoteService

Constructors

FeatureAppService(IFeatureManager, IFeatureDefinitionManager, IOptions<FeatureManagementOptions>)

Declaration
public FeatureAppService(IFeatureManager featureManager, IFeatureDefinitionManager featureDefinitionManager, IOptions<FeatureManagementOptions> options)
Parameters
Type Name Description
IFeatureManager featureManager
IFeatureDefinitionManager featureDefinitionManager
IOptions<FeatureManagementOptions> options

Properties

FeatureDefinitionManager

Declaration
protected IFeatureDefinitionManager FeatureDefinitionManager { get; }
Property Value
Type Description
IFeatureDefinitionManager

FeatureManager

Declaration
protected IFeatureManager FeatureManager { get; }
Property Value
Type Description
IFeatureManager

Options

Declaration
protected FeatureManagementOptions Options { get; }
Property Value
Type Description
FeatureManagementOptions

Methods

CheckProviderPolicy(string, string)

Declaration
protected virtual Task CheckProviderPolicy(string providerName, string providerKey)
Parameters
Type Name Description
string providerName
string providerKey
Returns
Type Description
Task

DeleteAsync(string, string)

Declaration
public virtual Task DeleteAsync(string providerName, string providerKey)
Parameters
Type Name Description
string providerName
string providerKey
Returns
Type Description
Task

GetAsync(string, string)

Declaration
public virtual Task<GetFeatureListResultDto> GetAsync(string providerName, string providerKey)
Parameters
Type Name Description
string providerName
string providerKey
Returns
Type Description
Task<GetFeatureListResultDto>

SetFeatureDepth(List<FeatureDto>, string, string, FeatureDto, int)

Declaration
protected virtual void SetFeatureDepth(List<FeatureDto> features, string providerName, string providerKey, FeatureDto parentFeature = null, int depth = 0)
Parameters
Type Name Description
List<FeatureDto> features
string providerName
string providerKey
FeatureDto parentFeature
int depth

UpdateAsync(string, string, UpdateFeaturesDto)

Declaration
public virtual Task UpdateAsync(string providerName, string providerKey, UpdateFeaturesDto input)
Parameters
Type Name Description
string providerName
string providerKey
UpdateFeaturesDto input
Returns
Type Description
Task

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IFeatureAppService
IApplicationService
IRemoteService

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform