public AppoitmentSynchronizer(AppointmentLabelBaseCollection labels, AppointmentStatusBaseCollection statuses, IModelListViewOptionsScheduler modelListViewOptionsScheduler) : base(null, modelListViewOptionsScheduler) { var appointmentsModel = modelListViewOptionsScheduler.OptionsScheduler.GetNode("Storage").GetNode("Appointments"); ModelSynchronizerList.Add(new AppoitmentLabelsSynchronizer(labels, (IModelAppoitmentLabels)appointmentsModel.GetNode("Labels"))); ModelSynchronizerList.Add(new AppoitmentStatusSynchronizer(statuses, (IModelAppoitmentStatuses)appointmentsModel.GetNode("Statuses"))); }
public SchedulerListEditorModelSynchronizer(IInnerSchedulerControlOwner control, IModelListViewOptionsScheduler model, AppointmentLabelBaseCollection labels, AppointmentStatusBaseCollection statuses) : base(control, model) { ModelSynchronizerList.Add(new SchedulerControlSynchronizer(control, model)); var appoitmentSynchronizer = new AppoitmentSynchronizer(labels, statuses, model); ModelSynchronizerList.Add(appoitmentSynchronizer); }