Exemplo n.º 1
0
 public ProjectChangeEvent(ProjectChangeEvent pce)
     : this(pce.Type, pce.NewProject, pce.NewComment, new List <WorktimeRecord>(), pce.Processed, pce.AvailableWorktimebreak)
 {
     foreach (var wtr in pce.WorktimeRecords)
     {
         WorktimeRecords.Add(new WorktimeRecord(wtr));
     }
 }
Exemplo n.º 2
0
 public ProjectChangeEvent(Types type, string newProject, string newComment, WorktimeRecord wtr, Boolean processed = false, TimeSpan availableWorktimebreak = new TimeSpan())
     : this(type, newProject, newComment, new List <WorktimeRecord>(), processed, availableWorktimebreak)
 {
     WorktimeRecords.Add(wtr);
 }