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; }
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 }