コード例 #1
0
 public TimeSlot Begin()
 {
     Status = TimeSlotStatus.InProgress;
     return(this);
 }
コード例 #2
0
 public TimeSlot End()
 {
     Status = TimeSlotStatus.Completed;
     return(this);
 }
コード例 #3
0
 public TimeSlot(DateTime startTime)
 {
     StartTime = startTime;
     _status   = TimeSlotStatus.Awaiting;
 }