public static void Show(IUnityContainer container, ReactiveScreen dialogViewModel) { var windowsSettings = dialogViewModel as IWindowSettings; if (windowsSettings != null) { container.Resolve <IWindowManager>().ShowWindow(dialogViewModel, null, windowsSettings.WindowSettings); } else { container.Resolve <IWindowManager>().ShowWindow(dialogViewModel); } }
public static async Task Change(IUnityContainer container, ReactiveScreen viewModel) { await container.Resolve <IEventAggregator>().PublishOnUIThreadAsync(new ScreenChangeEvent(viewModel)); }
public VerificationNotValidEvent(ItemValue item, ReactiveScreen viewModel) { Item = item; this.ViewModel = viewModel; }
public TestProgressEvent(ReactiveScreen activeViewModel) { ActiveViewModel = activeViewModel; }
public ScreenChangeEvent(ReactiveScreen viewModel) { ViewModel = viewModel; }