Ejemplo n.º 1
0
 public void Do(TaskTree taskTree)
 {
     Debug.Assert(taskTree.root != null);
     Debug.Assert(!taskTree.root.IsAttached);
     tasks.Add(taskTree.DistributedTree());
     taskTree.root.SetStatus(Task.TaskStatus.Pending);
 }
Ejemplo n.º 2
0
 public void Then(TaskTree taskTree)
 {
     Debug.Assert(!taskTree.root.IsAttached);
     nextTasks = new List <Task>()
     {
         taskTree.DistributedTree()
     };
 }