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); } }
public TaskManager(string name) { this.Name = name; _rootNode = new TaskNode(this.Name); }