private void DisposedCalled(SubjectWithHookableDispose <CronTime> obj) { _scheduler.Stop(); }
public ReactiveScheduler(IDateTimeRepository dateTimeRepository, IScheduler scheduler, CronTimeStreamBase cronTimeStream, bool callbackOnScheduler = false) { _scheduler = new Scheduler(dateTimeRepository, scheduler, cronTimeStream, callbackOnScheduler); _schedulerCallbackObservable = new SubjectWithHookableDispose <CronTime>(DisposedCalled); }