Class CombinedAction
Class CombinedAction.
Namespace: Unity.Industrial.Forma.Core.Ruling
Syntax
public class CombinedAction : object, ICombinedAction, IRuleAction
Constructors
CombinedAction()
Initializes a new instance of the CombinedAction class.
Declaration
public CombinedAction()
Properties
Actions
Gets the actions.
Declaration
public IReadOnlyList<IRuleAction> Actions { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<IRuleAction> | The actions. |
Methods
Add(IRuleAction)
Adds the specified action.
Declaration
public void Add(IRuleAction action)
Parameters
Type | Name | Description |
---|---|---|
IRuleAction | action | The action. |
Execute(RuleExecutionContext)
Executes the specified context.
Declaration
public void Execute(RuleExecutionContext context)
Parameters
Type | Name | Description |
---|---|---|
RuleExecutionContext | context | The context. |
Implements
Remove(IRuleAction)
Removes the specified action.
Declaration
public void Remove(IRuleAction action)
Parameters
Type | Name | Description |
---|---|---|
IRuleAction | action | The action. |
SetAt(Int32, IRuleAction)
Sets at.
Declaration
public void SetAt(int index, IRuleAction action)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index. |
IRuleAction | action | The action. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |