Пример #1
0
 public SpecificRangeTimeEntry(string description, string employeeName, DateTime startTime, DateTime stopTime, Authority authority) : base(description, stopTime - startTime, employeeName, authority)
 {
     StartTime = startTime;
     StopTime  = stopTime;
 }
Пример #2
0
 public string GetBossReportRow() => $"{GetBossReportRowCore()} was {Authority.GetAuthorityVerb()} by authority {Authority.Name}";
Пример #3
0
 public DurationOnlyTimeEntry(string description, TimeSpan timeInterval, string employeeName, Authority authority) : base(description, timeInterval, employeeName, authority)
 {
 }
Пример #4
0
 protected TimeEntry(string description, TimeSpan timeInterval, string employeeName, Authority authority)
 {
     Description  = description;
     TimeInterval = timeInterval;
     EmployeeName = employeeName;
     Authority    = authority;
 }