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