Exemplo n.º 1
0
 public void Reset()
 {
     _fileBasedSchedule = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleFileBased.Read(_optionsService.Options.AutoBell));
     _autoSchedule      = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleAuto.Read(_optionsService, _dateTimeService, _isJanuary2020OrLater));
     _manualSchedule    = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleManual.Read(_optionsService));
 }
Exemplo n.º 2
0
 public void Reset()
 {
     _fileBasedSchedule = new Lazy <IEnumerable <TalkScheduleItem> >(TalkScheduleFileBased.Read);
     _autoSchedule      = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleAuto.Read(_optionsService));
     _manualSchedule    = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleManual.Read(_optionsService));
 }