Пример #1
0
 public EveryDayTimer(CalendarTimerProvider provider)
 {
     this.provider       = provider;
     this.EventTime      = DateTime.Now;
     this.ActiveWeekDays = new DayOfWeek[]
     {
         DayOfWeek.Monday,
         DayOfWeek.Tuesday,
         DayOfWeek.Wednesday,
         DayOfWeek.Thursday,
         DayOfWeek.Friday
     };
 }
Пример #2
0
 public EveryDayTimerType(CalendarTimerProvider provider)
 {
     this.provider = provider;
     this.editor   = new CalendarTimerEditor(new EveryDayTimerPlugin());
 }
Пример #3
0
 public EventTimer(CalendarTimerProvider provider)
 {
     this.provider      = provider;
     this.EventDateTime = DateTime.Today;
 }