public MainViewModel(IWizardService wizardService) { Argument.IsNotNull(() => wizardService); _wizardService = wizardService; ShowWizard = new TaskCommand(OnShowWizardExecuteAsync); Title = "Orc.Wizard example"; }
public MainViewModel(IWizardService wizardService) { Argument.IsNotNull(() => wizardService); _wizardService = wizardService; ShowWizard = new TaskCommand(OnShowWizardExecuteAsync); Title = "Orc.Wizard example"; }
public WizardViewModel(IWizardService wizardService, IUIVisualizerService uiVisualizerService) { Argument.IsNotNull(() => wizardService); Argument.IsNotNull(() => uiVisualizerService); _wizardService = wizardService; _uiVisualizerService = uiVisualizerService; ShowWizard = new TaskCommand(OnShowWizardExecuteAsync); ShowSeparateWindow = new TaskCommand(OnShowSeparateWindow); }
public MainViewModel(IWizardService wizardService, ITypeFactory typeFactory) { Argument.IsNotNull(() => wizardService); Argument.IsNotNull(() => typeFactory); _wizardService = wizardService; _typeFactory = typeFactory; ShowWizard = new TaskCommand(OnShowWizardExecuteAsync); Title = "Orc.Wizard example"; }
public MainViewModel(IWizardService wizardService, ITypeFactory typeFactory) { Argument.IsNotNull(() => wizardService); Argument.IsNotNull(() => typeFactory); _wizardService = wizardService; _typeFactory = typeFactory; ShowWizard = new TaskCommand(OnShowWizardExecuteAsync); Title = "Orc.Wizard example"; }
public MainViewModel(IWizardService wizardService, ITypeFactory typeFactory) { Argument.IsNotNull(() => wizardService); Argument.IsNotNull(() => typeFactory); _wizardService = wizardService; _typeFactory = typeFactory; ShowWizard = new TaskCommand(OnShowWizardExecuteAsync); UseFastForwardNavigationController = true; ShowSummaryPage = true; ShowHelp = true; HandleNavigationStates = true; Title = "Orc.Wizard example"; }
public static Task <bool?> ShowWizardAsync <TWizard>(this IWizardService wizardService, object model = null) where TWizard : IWizard { Argument.IsNotNull(() => wizardService); var typeFactory = wizardService.GetTypeFactory(); IWizard wizard = null; if (model is not null) { Log.Debug("Creating wizard '{0}' with model '{1}'", typeof(TWizard).GetSafeFullName(false), ObjectToStringHelper.ToFullTypeString(model)); wizard = typeFactory.CreateInstanceWithParametersAndAutoCompletion <TWizard>(model); } else { Log.Debug("Creating wizard '{0}'", typeof(TWizard).GetSafeFullName(false)); wizard = typeFactory.CreateInstance <TWizard>(); } return(wizardService.ShowWizardAsync(wizard)); }
public AccountController(IWizardService wizardService) { this._wizardService = wizardService; }
public WizardController(IWizardService service, ILogger <WizardController> logger) { _service = service; _logger = logger; }
public WizardController(IWizardService wizardService, CityService cityService, IDivisionService divisionService) { this._wizardService = wizardService; this._cityService = cityService; this._divisionService = divisionService; }
public AccountController(IOptionsSnapshot <JwtIssuerOptions> jwtOptions, IActivityService activityService, IWizardService wizardService) { this._activityService = activityService; this._wizardService = wizardService; this._jwtOptions = jwtOptions.Value; }
public ActivityController(IActivityService activityService, IDivisionService divisionService, IWizardService wizardService) { this._activityService = activityService; this._divisionService = divisionService; this._wizardService = wizardService; }
public AuthController(IJwtFactory jwtFactory, IOptions <JwtIssuerOptions> jwtOptions, IWizardService wizardService) { this._jwtOptions = jwtOptions.Value; this._jwtFactory = jwtFactory; this._wizardService = wizardService; }