Ejemplo n.º 1
0
        public override void Update(Quartz.IScheduler scheduler)
        {
            this.Scheduler = scheduler;

            this.Calendars = scheduler.GetCalendarNames().Select(n => new {
                Name     = n,
                Calendar = scheduler.GetCalendar(n)
            }).ToDictionary(n => n.Name, n => n.Calendar);

            this.NotifyOfPropertyChange(() => this.Calendars);
        }