Esempio n. 1
0
 public RepoWatcher(StatusRepo repo)
 {
     _timer = new TimerWithElapsedCancellation(TimerTime, () => {
         repo.UpdateTotals();
         return(true);
     });
 }
Esempio n. 2
0
 public RepoWatcher(StatusRepo repo) {
     _timer = new TimerWithElapsedCancellation(TimerTime, () => {
         repo.UpdateTotals();
         return true;
     });
 }