Exemplo n.º 1
0
 private void OnSettingsChange(TimerSettings timerSettings)
 {
     this.timerSettings = timerSettings;
     timer?.Change(TimeSpan.Zero, TimeSpan.FromSeconds(timerSettings.TimerSeconds));
 }