Beispiel #1
0
 public virtual IConnectionBuilder ThenNamed(string activityName) =>
 WorkflowBuilder.Connect(
     () => this,
     () => WorkflowBuilder.Activities.First(x => x.Name == activityName));
Beispiel #2
0
 public IConnectionBuilder Then(IActivityBuilder activityBuilder, Action <IActivityBuilder>?branch = default)
 {
     branch?.Invoke(activityBuilder);
     return(WorkflowBuilder.Connect(Source, activityBuilder, Outcome));
 }
Beispiel #3
0
 public virtual IActivityBuilder Then(IActivityBuilder targetActivity)
 {
     WorkflowBuilder.Connect(this, targetActivity);
     return(this);
 }