Class LambdaAction
Class LambdaAction.
Namespace: UnityEngine.Industrial.Configuring.Core.Ruling
Syntax
public class LambdaAction : IRuleAction
Constructors
LambdaAction(Action<RuleExecutionContext>)
Initializes a new instance of the LambdaAction class.
Declaration
public LambdaAction(Action<RuleExecutionContext> a)
Parameters
Type | Name | Description |
---|---|---|
Action<RuleExecutionContext> | a | a. |
Methods
Execute(RuleExecutionContext)
Executes the specified context.
Declaration
public void Execute(RuleExecutionContext context)
Parameters
Type | Name | Description |
---|---|---|
RuleExecutionContext | context | The context. |