Exemple #1
0
 /// <summary>
 /// Overrides the whole execution flow.
 /// </summary>
 /// <param name="nextWorkflow"></param>
 public void Override(WorkflowBase <TContext> nextWorkflow)
 {
     if (nextWorkflow is null)
     {
         throw new ArgumentNullException(nameof(nextWorkflow));
     }
     ExecutionChain.Override(nextWorkflow);
 }
Exemple #2
0
 public WorkflowBase()
 {
     ExecutionChain = new ExecutionChain <TContext>();
 }
Exemple #3
0
 public WorkflowBase()
 {
     Name           = GetType().Name;
     ExecutionChain = new ExecutionChain <TContext>();
 }