void IWizardCustomizationService.CustomizeReportWizard(ReportWizardCustomizationModel customization, ViewModelSourceIntegrityContainer container) { customization.Model = new CustomReportModel(); container.RegisterType <ChoosePageSettingsPage <CustomReportModel> >(); container.RegisterType <ChooseReportTypePage <XtraReportModel>, CustomChooseReportTypePage>(); container.RegisterViewModel <IChoosePageSettingsPageView, ChoosePageSettingsPageViewModel>(); }
// Register the custom color scheme storage. void IWizardCustomizationService.CustomizeReportWizard(ReportWizardCustomizationModel customization, ViewModelSourceIntegrityContainer container) { container.RegisterType <IColorSchemeStorage, CustomColorSchemeStorage>(); }
void IWizardCustomizationService.CustomizeReportWizard(ReportWizardCustomizationModel customization, ViewModelSourceIntegrityContainer container) { container.RegisterType <ICustomQueryValidator, MyCustomQueryValidator>(); }