Class BaseRule
Class BaseRule.
Namespace: Unity.Industrial.Forma.Core.Ruling
Syntax
public abstract class BaseRule : object, 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. |
Implements
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |