コード例 #1
0
ファイル: TimeEntry.cs プロジェクト: krossa/nauka
 public SpecificRangeTimeEntry(string description, string employeeName, DateTime startTime, DateTime stopTime, Authority authority) : base(description, stopTime - startTime, employeeName, authority)
 {
     StartTime = startTime;
     StopTime  = stopTime;
 }
コード例 #2
0
ファイル: TimeEntry.cs プロジェクト: krossa/nauka
 public string GetBossReportRow() => $"{GetBossReportRowCore()} was {Authority.GetAuthorityVerb()} by authority {Authority.Name}";
コード例 #3
0
ファイル: TimeEntry.cs プロジェクト: krossa/nauka
 public DurationOnlyTimeEntry(string description, TimeSpan timeInterval, string employeeName, Authority authority) : base(description, timeInterval, employeeName, authority)
 {
 }
コード例 #4
0
ファイル: TimeEntry.cs プロジェクト: krossa/nauka
 protected TimeEntry(string description, TimeSpan timeInterval, string employeeName, Authority authority)
 {
     Description  = description;
     TimeInterval = timeInterval;
     EmployeeName = employeeName;
     Authority    = authority;
 }