예제 #1
0
        public DotNetCoreProjectTemplateWizardPage(
            DotNetCoreProjectTemplateWizard wizard,
            List <TargetFramework> targetFrameworks)
        {
            this.wizard           = wizard;
            this.targetFrameworks = targetFrameworks;

            if (targetFrameworks.Any())
            {
                SelectedTargetFrameworkIndex = 0;
            }
            else
            {
                CanMoveToNextPage = false;
            }
        }
예제 #2
0
        public DotNetCoreProjectTemplateWizardPage(
            DotNetCoreProjectTemplateWizard wizard,
            List <TargetFramework> targetFrameworks,
            IReadOnlyList <AuthenticationParameter> supportedAuthentications)
        {
            this.wizard           = wizard;
            this.targetFrameworks = targetFrameworks;
            parameters            = CreateTargetFrameworksParameters();

            SupportedAuthentications = supportedAuthentications;

            if (targetFrameworks.Any())
            {
                SelectedTargetFrameworkIndex = 0;
            }
            else
            {
                CanMoveToNextPage = false;
            }
        }