コード例 #1
0
 public PeriodicTaskFixture()
 {
     _numberOfExecutions = 0;
     _timer        = new TimerForUnitTests();
     _periodicTask = new PeriodicTask(() => _numberOfExecutions++, _timer);
 }
コード例 #2
0
 public PeriodicTaskFixture() {
   _numberOfExecutions = 0;
   _timer = new TimerForUnitTests();
   _periodicTask = new PeriodicTask(() => _numberOfExecutions++, _timer);
 }