/// <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); }
public WorkflowBase() { ExecutionChain = new ExecutionChain <TContext>(); }
public WorkflowBase() { Name = GetType().Name; ExecutionChain = new ExecutionChain <TContext>(); }