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