public void SelectWeek(ISchedulerWeekModel week) { if (week == null) { throw new ArgumentNullException("week"); } InitializeViewModel(DisplayMode.Week, week.Days[0].Date); }
protected override void InitializeModel(DateTime date) { week = new SchedulerWeekModel(scheduler.DisplayInfo, date, displayedDays); week.SetDate(date); SetModel(week, "DisplayedDays"); }
public SchedulerMonthWeekHeaderViewModel(IWeekSelected weekSelected, ISchedulerWeekModel week) { this.weekSelected = weekSelected; this.week = week; SetModel(week, "Week"); }
public void SelectWeek(ISchedulerWeekModel week) { this.week = week; }
public void SelectWeek(ISchedulerWeekModel week) { if (week == null) throw new ArgumentNullException("week"); InitializeViewModel(DisplayMode.Week, week.Days[0].Date); }