![]() |
Workflow Engine .NET
2
|
Interface of a bus, which provide control over execution of activities and actions More...
Public Member Functions | |
void | Initialize (WorkflowRuntime runtime) |
Initialize the bus More... | |
void | Start () |
Starts the bus More... | |
Task< bool > | QueueExecution (IEnumerable< ExecutionRequestParameters > requestParameters, CancellationToken token, bool notFireExecutionComplete=false) |
Queue execution with the list of ExecutionRequestParameters More... | |
Task< bool > | QueueExecution (ExecutionRequestParameters requestParameters, CancellationToken token, bool notFireExecutionComplete=false) |
Queue execution with the ExecutionRequestParameters More... | |
Events | |
Func< IWorkflowBus, ExecutionResponseEventArgs, Task > | ExecutionComplete |
Raises after the execution was complete More... | |
EventHandler< BeforeActivityExecutionEventArgs > | BeforeExecution |
Raises before execution of choosen activity More... | |
Interface of a bus, which provide control over execution of activities and actions
void OptimaJet.Workflow.Core.Bus.IWorkflowBus.Initialize | ( | WorkflowRuntime | runtime | ) |
Initialize the bus
runtime | WorkflowRuntime instance which owned the bus |
Implemented in OptimaJet.Workflow.Core.Bus.NullBus.
Task<bool> OptimaJet.Workflow.Core.Bus.IWorkflowBus.QueueExecution | ( | IEnumerable< ExecutionRequestParameters > | requestParameters, |
CancellationToken | token, | ||
bool | notFireExecutionComplete = false |
||
) |
Queue execution with the list of ExecutionRequestParameters
requestParameters | List of ExecutionRequestParameters |
token | Cancellation token |
notFireExecutionComplete | If true - the Bus must execute the Request without firing ExecutionComplete |
Implemented in OptimaJet.Workflow.Core.Bus.NullBus.
Task<bool> OptimaJet.Workflow.Core.Bus.IWorkflowBus.QueueExecution | ( | ExecutionRequestParameters | requestParameters, |
CancellationToken | token, | ||
bool | notFireExecutionComplete = false |
||
) |
Queue execution with the ExecutionRequestParameters
requestParameters | Instance of ExecutionRequestParameters |
///
token | Cancellation token |
notFireExecutionComplete | If true - the Bus must execute the Request without firing ExecutionComplete |
Implemented in OptimaJet.Workflow.Core.Bus.NullBus.
void OptimaJet.Workflow.Core.Bus.IWorkflowBus.Start | ( | ) |
Starts the bus
Implemented in OptimaJet.Workflow.Core.Bus.NullBus.
EventHandler<BeforeActivityExecutionEventArgs> OptimaJet.Workflow.Core.Bus.IWorkflowBus.BeforeExecution |
Raises before execution of choosen activity
Func<IWorkflowBus,ExecutionResponseEventArgs, Task> OptimaJet.Workflow.Core.Bus.IWorkflowBus.ExecutionComplete |
Raises after the execution was complete