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 void SetProviders(IEnumerable <ISettingProvider> providers)
 {
     SettingContent.SetSettingProviders(providers);
     SettingContent.OnLoaded();
 }