Craig's Utility Library
4.0 Beta
|
Public Member Functions | |
WorkflowNode () | |
Initializes a new instance of the WorkflowNode<T> class. More... | |
void | AddOperation (IOperation< T > Operation, params IConstraint< T >[] Constraints) |
Adds an operation to be run with the node More... | |
void | AddOperation (IWorkflow< T > Operation, params IConstraint< T >[] Constraints) |
Adds an operation to be run with the node More... | |
void | Repeat (int Times=1) |
Repeats the last operation the specified number of times. More... | |
void | Retry (int Times=1) |
Retries the last operation the specified number of times if it fails. More... | |
T | Start (T Data) |
Starts the node using the data specified More... | |
Properties | |
ICollection< IInvoker< T > > | Operations [get] |
Gets or sets the operations. More... | |
int | RepeatCount [get] |
Gets the repeat count More... | |
int | RetryCount [get] |
Gets the retry count. More... | |
Initializes a new instance of the WorkflowNode<T> class.
Definition at line 42 of file WorkflowNode.cs.
void Utilities.Workflow.Manager.WorkflowNode< T >.AddOperation | ( | IOperation< T > | Operation, |
params IConstraint< T >[] | Constraints | ||
) |
Adds an operation to be run with the node
Operation | The operation. |
Constraints | The constraints. |
Implements Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.
Definition at line 72 of file WorkflowNode.cs.
void Utilities.Workflow.Manager.WorkflowNode< T >.AddOperation | ( | IWorkflow< T > | Operation, |
params IConstraint< T >[] | Constraints | ||
) |
Adds an operation to be run with the node
Operation | The operation. |
Constraints | The constraints. |
Implements Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.
Definition at line 82 of file WorkflowNode.cs.
void Utilities.Workflow.Manager.WorkflowNode< T >.Repeat | ( | int | Times = 1 | ) |
Repeats the last operation the specified number of times.
Times | The number of times to repeat |
Implements Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.
Definition at line 92 of file WorkflowNode.cs.
void Utilities.Workflow.Manager.WorkflowNode< T >.Retry | ( | int | Times = 1 | ) |
Retries the last operation the specified number of times if it fails.
Times | The number of times to retry. |
Implements Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.
Definition at line 102 of file WorkflowNode.cs.
T Utilities.Workflow.Manager.WorkflowNode< T >.Start | ( | T | Data | ) |
Starts the node using the data specified
Data | The data. |
Implements Utilities.Workflow.Manager.Interfaces.IWorkflowNode< T >.
Definition at line 112 of file WorkflowNode.cs.
|
get |
|
get |
|
get |