Exemple #1
0
        public AppDetailsViewModel(WizardOptionViewModel options)
        {
            Options = options;

            GoToGitHubCommand         = new RelayCommand(GoToGitHubLink);
            SelectScaffoldTypeCommand = new RelayCommand <ScaffoldType>(SelectScaffoldType);
        }
        public AppDetailsViewModel(WizardOptionViewModel options)
        {
            Options = options;

            GoToGitHubCommand = new RelayCommand(GoToGitHubLink);

            ScaffoldTemplateOptions                 = Config.Current.PlatformScaffoldTypeConfiguration.ToScaffoldTemplateOptions(MvxScaffoldingContext.CurrentTemplateType, options);
            Options.SelectedScaffoldType            = ScaffoldTemplateOptions.First();
            Options.SelectedScaffoldType.IsSelected = true;
        }
        public PlatformOptionsViewModel(WizardOptionViewModel options)
        {
            Options = options;

            ToggleAndroidCommand = new RelayCommand(ToggleAndroid);
            ToggleIosCommand     = new RelayCommand(ToggleIos);
            ToggleUwpCommand     = new RelayCommand(ToggleUwp);

            ShowPlatformMarketShareCommand = new RelayCommand <PlatformType>(ShowPlatformMarketShare);
        }