Пример #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);
 }
Пример #2
0
 public WorkflowBase()
 {
     ExecutionChain = new ExecutionChain <TContext>();
 }
Пример #3
0
 public WorkflowBase()
 {
     Name           = GetType().Name;
     ExecutionChain = new ExecutionChain <TContext>();
 }