Пример #1
0
 public PeriodicTaskFixture()
 {
     _numberOfExecutions = 0;
     _timer        = new TimerForUnitTests();
     _periodicTask = new PeriodicTask(() => _numberOfExecutions++, _timer);
 }
 public PeriodicTaskFixture() {
   _numberOfExecutions = 0;
   _timer = new TimerForUnitTests();
   _periodicTask = new PeriodicTask(() => _numberOfExecutions++, _timer);
 }