public Task CreateTask(Project project, string taskName, string taskDescription, string deadLine) { var task = new Task(project, taskName, taskDescription, deadLine); Logger.Logger.AddToLog("TaskFactory|CreateTask Task"); OnTaskCreation(task); return task; }
public void OnTaskCreation(Task task) { _displayInfoAction.ShowTaskInfo(task); }
public virtual void AddTask(Task task) { TaskList.Add(task); }