Show / Hide Table of Contents

Class FeatureAppService

Inheritance
System.Object
FeatureManagementAppServiceBase
FeatureAppService
Implements
IFeatureAppService
IApplicationService
Namespace: Volo.Abp.FeatureManagement
Assembly: Volo.Abp.FeatureManagement.Application.dll
Syntax
public class FeatureAppService : FeatureManagementAppServiceBase, IFeatureAppService, IApplicationService

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)

Declaration
protected virtual Task CheckProviderPolicy(string providerName)
Parameters
Type Name Description
System.String providerName
Returns
Type Description
Task

GetAsync(String, String)

Declaration
public virtual Task<FeatureListDto> GetAsync(string providerName, string providerKey)
Parameters
Type Name Description
System.String providerName
System.String providerKey
Returns
Type Description
Task<FeatureListDto>

SetFeatureDepth(List<FeatureDto>, String, String, FeatureDto, Int32)

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
System.String providerName
System.String providerKey
FeatureDto parentFeature
System.Int32 depth

UpdateAsync(String, String, UpdateFeaturesDto)

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

Implements

IFeatureAppService
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