Пример #1
0
        public ProjectTask AddTask(string name)
        {
            ProjectTask task = new ProjectTask(this, calendar, name);

            tasks.Add(task);
            if (Logger != null)
            {
                Logger.LogAddTask(task);
            }
            return(task);
        }
Пример #2
0
 public ProjectTask(ProjectTask parent, IProjectCalendar calendar, string name)
     : base(calendar, name)
 {
     this.parent = parent;
     InitializeTasks();
 }