Esempio n. 1
0
 public WApplicationSettings(
     WApplicationSettingsViewModel viewModel,
     IEventAggregator eventAggregator,
     IEnumerable <ISettingProvider> settingProviders)
 {
     InitializeComponent();
     DataContext = viewModel;
     SettingContent.SetEventAggregator(eventAggregator);
     SettingContent.SetSettingProviders(settingProviders);
     SettingContent.SetViewModel(viewModel.SettingViewModel);
     SettingContent.OnLoaded();
     this.eventAggregator = eventAggregator;
 }
Esempio n. 2
0
 public WApplicationSettings(
     WApplicationSettingsViewModel viewModel,
     IEventAggregator eventAggregator,
     ResolverFactory resolverFactory)
 {
     InitializeComponent();
     DataContext = viewModel;
     SettingContent.SetEventAggregator(eventAggregator);
     //
     SettingContent.SetViewModel(viewModel.SettingViewModel);
     SettingContent.OnLoaded();
     this.eventAggregator = eventAggregator;
     this.resolverFactory = resolverFactory;
     //,
     //IEnumerable<ISettingProvider> settingProviders
 }