コード例 #1
0
        public static WorkTime CreateStartedManually()
        {
            var workTime = new WorkTime(_id--, UserTestUtils.CreateTestUser(), null, InternalTimeService.GetCurrentDateTime().AddMinutes(10));

            workTime.StartManually();
            workTime.MarkPendingEventsAsHandled();
            return(workTime);
        }
コード例 #2
0
 public static WorkTime CreateManual()
 {
     Debug.WriteLine(_id);
     return(new WorkTime(Interlocked.Decrement(ref _id), UserTestUtils.CreateTestUser(), null, InternalTimeService.GetCurrentDateTime().AddMinutes(10)));
 }