예제 #1
0
 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;
 }
예제 #2
0
 public void OnTaskCreation(Task task)
 {
     _displayInfoAction.ShowTaskInfo(task);
 }
예제 #3
0
 public virtual void AddTask(Task task)
 {
     TaskList.Add(task);
 }