public Task<bool?> ShowWizardAsync(IWizard wizard)
        {
            Argument.IsNotNull(() => wizard);

            Log.Debug("Showing wizard '{0}'", wizard.GetType().GetSafeFullName());

            return _uiVisualizerService.ShowDialogAsync<WizardViewModel>(wizard);
        }
        public Task <bool?> ShowWizardAsync(IWizard wizard)
        {
            Argument.IsNotNull(() => wizard);

            Log.Debug("Showing wizard '{0}'", wizard.GetType().GetSafeFullName(false));

            return(_uiVisualizerService.ShowDialogAsync <WizardViewModel>(wizard));
        }
Exemple #3
0
        public Task <bool?> ShowWizardAsync(IWizard wizard)
        {
            Argument.IsNotNull(() => wizard);

            Log.Debug("Showing wizard '{0}'", wizard.GetType().GetSafeFullName(false));

            if (wizard is SideNavigationWizardBase)
            {
                return(_uiVisualizerService.ShowDialogAsync <SideNavigationWizardViewModel>(wizard));
            }

            if (wizard is FullScreenWizardBase)
            {
                return(_uiVisualizerService.ShowDialogAsync <FullScreenWizardViewModel>(wizard));
            }

            return(_uiVisualizerService.ShowDialogAsync <WizardViewModel>(wizard));
        }