OrchardCore.Rules module allows you to implement condition based rules.
You may create your own conditions for more complex scenarios.
You will need to implement the abstractions found in the
- Appropriate views for your condition display driver.
services .AddScoped<IDisplayDriver<Condition>, BooleanConditionDisplayDriver>() .AddCondition<BooleanCondition, BooleanConditionEvaluator, ConditionFactory<BooleanCondition>>();
Refer Layers for more information about rules and conditions.