Esempio n. 1
0
 public void SetNext(ITaskActivity next)
 {
     if (Next == null)
     {
         Next = next;
         return;
     }
     Next.SetNext(next);
 }
Esempio n. 2
0
 public WorkflowBuilder Then(ITaskActivity activity)
 {
     current.SetNext(activity);
     current = activity;
     return(this);
 }
Esempio n. 3
0
 public WorkflowBuilder StartWith(ITaskActivity activity)
 {
     root    = activity;
     current = root;
     return(this);
 }