private void AboutDialogCommand() { IAboutDialogView view = container.GetExportedValue <IAboutDialogView>(); AboutDialogViewModel aboutDialog = new AboutDialogViewModel(view); aboutDialog.ShowDialog(this.shellViewModel.View); }
public ShellViewModel( IRegionManager regionManager, ISnackbarMessageQueue snackbarMessageQueue, IDialogService dialogService, SystemInfoService systemInfoService, IEventAggregator eventAggregator, IMessageService messageService, IAboutDialogView aboutDialogView) : base(regionManager, dialogService, eventAggregator, messageService) { _systemInfoService = systemInfoService; _aboutDialogView = aboutDialogView; MessageQueue = snackbarMessageQueue; EventAggregator.GetEvent <IsBusyEvent>().Subscribe(OnBusyEvent); EventAggregator.GetEvent <IsBusyMessageEvent>().Subscribe(OnBusyMessageEvent); EventAggregator.GetEvent <SentGlobalMessageEvent>().Subscribe(OnSentGlobalMessagEvent); BindData(); }