コード例 #1
0
 public RepoWatcher(StatusRepo repo)
 {
     _timer = new TimerWithElapsedCancellation(TimerTime, () => {
         repo.UpdateTotals();
         return(true);
     });
 }
コード例 #2
0
 public RepoWatcher(StatusRepo repo) {
     _timer = new TimerWithElapsedCancellation(TimerTime, () => {
         repo.UpdateTotals();
         return true;
     });
 }