Class RequireGlobalFeaturesSimpleStateChecker<TState>
Inheritance
RequireGlobalFeaturesSimpleStateChecker<TState>
Assembly: Volo.Abp.GlobalFeatures.dll
Syntax
public class RequireGlobalFeaturesSimpleStateChecker<TState> : ISimpleStateChecker<TState> where TState : IHasSimpleStateCheckers<TState>
Type Parameters
Constructors
RequireGlobalFeaturesSimpleStateChecker(bool, params string[])
Declaration
public RequireGlobalFeaturesSimpleStateChecker(bool requiresAll, params string[] globalFeatureNames)
Parameters
Type |
Name |
Description |
bool |
requiresAll |
|
string[] |
globalFeatureNames |
|
RequireGlobalFeaturesSimpleStateChecker(bool, params Type[])
Declaration
public RequireGlobalFeaturesSimpleStateChecker(bool requiresAll, params Type[] globalFeatureNames)
Parameters
Type |
Name |
Description |
bool |
requiresAll |
|
Type[] |
globalFeatureNames |
|
RequireGlobalFeaturesSimpleStateChecker(params string[])
Declaration
public RequireGlobalFeaturesSimpleStateChecker(params string[] globalFeatureNames)
Parameters
Type |
Name |
Description |
string[] |
globalFeatureNames |
|
Properties
GlobalFeatureNames
Declaration
public string[] GlobalFeatureNames { 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