예제 #1
0
 public virtual void AddTask(WorkflowTask task)
 {
     task.Workflow = this;
     Tasks.Add(task);
 }
예제 #2
0
 public virtual void DependsOn(WorkflowTask dependent)
 {
     TaskDependsOns.Add(new WorkflowTaskDependsOn(this, dependent));
 }