Interface IRule
Interface IRule
Namespace: UnityEngine.Industrial.Configuring.Core.Ruling
Syntax
public interface IRule
Properties
Action
Gets or sets the action.
Declaration
IRuleAction Action { get; set; }
Property Value
Type | Description |
---|---|
IRuleAction | The action. |
Condition
Gets or sets the condition.
Declaration
IRuleCondition Condition { get; set; }
Property Value
Type | Description |
---|---|
IRuleCondition | The condition. |
Methods
Execute(RuleExecutionContext)
Executes the specified context.
Declaration
void Execute(RuleExecutionContext context)
Parameters
Type | Name | Description |
---|---|---|
RuleExecutionContext | context | The context. |