Exemplo n.º 1
0
 public TimeEntry(Task task, string comment = null)
 {
     TimeRecorded = DateTime.Now;
     Task = task;
     Comment = comment;
     Project = task.Project;
 }
Exemplo n.º 2
0
 public TimeEntry(Project project, int minutesSpent, string comment = null, Task associatedTask = null)
 {
     TimeRecorded = DateTime.Now;
     Project = project;
     MinutesSpent = minutesSpent;
     Comment = comment;
     AssociatedTask = associatedTask;
 }
Exemplo n.º 3
0
 public TimeEntry(Task task, DateTime time, string comment = null, Task associatedTask = null)
 {
     Task = task;
     TimeRecorded = time;
     Comment = comment;
     Project = task.Project;
     AssociatedTask = associatedTask;
 }