Class ActionGroupBuilder
Builder to compose a group of rule actions.
public class ActionGroupBuilder : RuleElementBuilder
- Inheritance
-
ActionGroupBuilder
- Inherited Members
Constructors
ActionGroupBuilder()
Initializes a new instance of the ActionGroupBuilder.
public ActionGroupBuilder()
Methods
Action(LambdaExpression)
Adds a rule action to the group element. The action will be executed on new and updated rule activations.
public void Action(LambdaExpression expression)
Parameters
expression
LambdaExpressionRule action expression. The first parameter of the action expression must be IContext. Names and types of the rest of the expression parameters must match the names and types defined in the pattern declarations.
Action(LambdaExpression, ActionTrigger)
Adds a rule action to the group element.
public void Action(LambdaExpression expression, ActionTrigger actionTrigger)
Parameters
expression
LambdaExpressionRule action expression. The first parameter of the action expression must be IContext. Names and types of the rest of the expression parameters must match the names and types defined in the pattern declarations.
actionTrigger
ActionTriggerActivation events that trigger the action.