Esempio n. 1
0
        /// <summary>
        /// Creates the task.
        /// </summary>
        /// <param name="taskName">Name of the task.</param>
        /// <returns></returns>
        public virtual LogTask CreateTask(string taskName)
        {
            LogTask task = new LogTask(taskName);

            Tasks.Add(task);
            return(task);
        }
Esempio n. 2
0
 public virtual void AddSubTask(LogTask task)
 {
     SubTasks.Add(task);
 }