Class FeatureAppService
Inheritance
System.Object
FeatureAppService
Implements
IApplicationService
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
Properties
FeatureDefinitionManager
Declaration
protected IFeatureDefinitionManager FeatureDefinitionManager { get; }
Property Value
Type |
Description |
IFeatureDefinitionManager |
|
FeatureManager
Declaration
protected IFeatureManager FeatureManager { get; }
Property Value
Options
Declaration
protected FeatureManagementOptions Options { get; }
Property Value
Methods
CheckProviderPolicy(String)
Declaration
protected virtual Task CheckProviderPolicy(string providerName)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
Returns
GetAsync(String, String)
Declaration
public virtual Task<FeatureListDto> GetAsync(string providerName, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
System.String |
providerKey |
|
Returns
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
Implements
IApplicationService
Extension Methods