private void FormatChildTasks(ITaskContainer taskContainer, string indent = "")
 {
     foreach (var task in taskContainer.Subtasks)
     {
         FormatTask(indent, task);
     }
 }
 private static void AddTo(ITaskContainer container, ITask original, ITask[] tasks)
 {
     container.Add(original);
     foreach (var task in tasks)
     {
         container.Add(task);
     }
 }
Example #3
0
 public void SetContainer(ITaskContainer container)
 {
     Container = container;
 }
Example #4
0
 public ConsoleRunner(ITaskContainer container)
 {
     _container = container;
 }