Example #1
0
 public override void Build()
 {
     TaskManagementSystem
     .Task("Read for MDSD").Deadline("09-02-21 08:00").Status("In progress").Assign("Daniel")
     .Label("Reading").Label("MDSD")
     .Comment("Completed chapter 4").By("Daniel").PostedAt("07-02-21 14:00")
     .Comment("Completed chapter 11").By("Daniel").PostedAt("07-02-21 14.40")
     .Task("Post \"Internal DSL mock-up\"").Deadline("09-02-21 08:00").Status("Done").Assign("Daniel")
     .Label("Individual activity").Label("MDSD")
     .Comment("Various ideas: ....").By("Daniel").PostedAt("05-02-21 11.30")
     .Task("Assignment 1").Deadline("16-02-2021 08:45").Status("To do").Assign("Daniel")
     .Label("Assignment").Label("MDSD")
     .Build();
 }
Example #2
0
 public override void Build()
 {
     TaskManagementSystem
     .Task("Prepare lovely dinner").Deadline("09-03-21 18:00").Status("To do").Assign("Daniel")
     .Label("Cooking")
     .Comment("Decided upon meatloaf").By("Daniel").PostedAt("07-03-21 14:21")
     .Comment("Done shopping").By("Daniel").PostedAt("07-02-21 15.42")
     .Task("Do laundry").Deadline("10-03-21 10:00").Status("In progress").Assign("Karoline")
     .Label("Laundry")
     .Comment("Sorted the clothes and started the machine").By("Karoline").PostedAt("10-03-21 08.30")
     .Task("Vacuum clean").Deadline("05-03-2021 12:00").Status("Done").Assign("Daniel")
     .Label("Cleaning")
     .Task("Wash the floors").Deadline("05-03-2021 13:00").Status("Done").Assign("Daniel")
     .Label("Cleaning")
     .Build();
 }