Beispiel #1
0
        public virtual void UpdateWorkflowContainer(IWorkflowStation <string> workflow)
        {
            if (Workflow == null || Workflow != workflow)
            {
                Workflow = workflow;
            }

            foreach (var item in _children)
            {
                if (item is IModifiable <string> child)
                {
                    child.UpdateWorkflowContainer(workflow);
                }
            }
        }
 public static WorkflowContext CreateContext <T>(this IWorkflowStation <T> workflow)
 {
     return(WorkflowContextFactory.Create(workflow));
 }
Beispiel #3
0
 public EndNode(IWorkflowStation <string> station)
 {
     _station = station ?? throw new ArgumentNullException(nameof(station));
 }
Beispiel #4
0
 public static WorkflowContext Create <T>(IWorkflowStation <T> workflow)
 {
     return(new WorkflowContext(workflow.ExportWalkerContext()));
 }