Пример #1
0
            protected WorkItem(LocalScheduler scheduler, DateTimeOffset dueTime)
            {
                Scheduler = scheduler;
                DueTime   = dueTime;

                _hasRun = 0;
            }
Пример #2
0
 public WorkItem(LocalScheduler scheduler, DateTimeOffset dueTime)
 {
     _scheduler  = scheduler;
     _dueTime    = dueTime;
     _disposable = new SingleAssignmentDisposable();
     _hasRun     = 0;
 }