예제 #1
0
        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);
            }
        }
예제 #2
0
 public static async Task Change(IUnityContainer container, ReactiveScreen viewModel)
 {
     await container.Resolve <IEventAggregator>().PublishOnUIThreadAsync(new ScreenChangeEvent(viewModel));
 }
예제 #3
0
 public VerificationNotValidEvent(ItemValue item, ReactiveScreen viewModel)
 {
     Item           = item;
     this.ViewModel = viewModel;
 }
예제 #4
0
 public TestProgressEvent(ReactiveScreen activeViewModel)
 {
     ActiveViewModel = activeViewModel;
 }
예제 #5
0
 public ScreenChangeEvent(ReactiveScreen viewModel)
 {
     ViewModel = viewModel;
 }