public ProjectTask AddTask(string name)
        {
            ProjectTask task = new ProjectTask(this, calendar, name);

            tasks.Add(task);
            if (Logger != null)
            {
                Logger.LogAddTask(task);
            }
            return(task);
        }
 public ProjectTask(ProjectTask parent, IProjectCalendar calendar, string name)
     : base(calendar, name)
 {
     this.parent = parent;
     InitializeTasks();
 }