Exemple #1
0
 internal void Initialize()
 {
     _taskNodes.Clear();
     foreach (var taskInfo in _tasks)
     {
         var taskNode = new TaskNode(taskInfo.Task.Name);
         taskInfo.Task.Initialize(taskNode);
         taskNode.Initialize();
         _taskNodes.Add(taskInfo.Task, taskNode);
     }
 }
Exemple #2
0
 public TaskManager(string name)
 {
     this.Name = name;
     _rootNode = new TaskNode(this.Name);
 }