Пример #1
0
 public IActivityBuilder Then(IActivityBuilder targetActivity)
 {
     WorkflowBuilder.Connect(this, targetActivity);
     return(this);
 }
Пример #2
0
 public WorkflowDefinitionVersion Build() => WorkflowBuilder.Build();
Пример #3
0
 public IActivityBuilder Add <T>(Action <T> setup = default, string name = default) where T : class, IActivity
 {
     return(WorkflowBuilder.Add(setup, name));
 }
Пример #4
0
 public ActivityBuilder(WorkflowBuilder workflowBuilder, ActivityDefinition activity)
 {
     WorkflowBuilder = workflowBuilder;
     Activity        = activity;
 }