Class RequireFeaturesSimpleStateChecker<TState>
Inheritance
RequireFeaturesSimpleStateChecker<TState>
Assembly: Volo.Abp.Features.dll
Syntax
public class RequireFeaturesSimpleStateChecker<TState> : ISimpleStateChecker<TState> where TState : IHasSimpleStateCheckers<TState>
Type Parameters
Constructors
RequireFeaturesSimpleStateChecker(bool, params string[])
Declaration
public RequireFeaturesSimpleStateChecker(bool requiresAll, params string[] featureNames)
Parameters
Type |
Name |
Description |
bool |
requiresAll |
|
string[] |
featureNames |
|
RequireFeaturesSimpleStateChecker(params string[])
Declaration
public RequireFeaturesSimpleStateChecker(params string[] featureNames)
Parameters
Type |
Name |
Description |
string[] |
featureNames |
|
Properties
FeatureNames
Declaration
public string[] FeatureNames { get; }
Property Value
RequiresAll
Declaration
public bool RequiresAll { get; }
Property Value
Methods
IsEnabledAsync(SimpleStateCheckerContext<TState>)
Declaration
public Task<bool> IsEnabledAsync(SimpleStateCheckerContext<TState> context)
Parameters
Returns
Implements
Extension Methods