Interaction logic for PromptUserData.xaml
        /// <summary>
        /// The prompt.
        /// </summary>
        /// <param name="existetPlans">The existet plans.</param>
        /// <returns>
        /// The <see cref="string" />.
        /// </returns>
        public static ProvisionProject Prompt(string solutionName, string branch)
        {
            var inst = new ProvisionProject(solutionName, branch);
            inst.ShowDialog();

            if ((bool)inst.DialogResult)
            {
                return inst;
            }

            return null;
        }
예제 #2
0
        /// <summary>
        /// The prompt.
        /// </summary>
        /// <param name="existetPlans">The existet plans.</param>
        /// <returns>
        /// The <see cref="string" />.
        /// </returns>
        public static ProvisionProject Prompt(string solutionName, string branch)
        {
            var inst = new ProvisionProject(solutionName, branch);

            inst.ShowDialog();

            if ((bool)inst.DialogResult)
            {
                return(inst);
            }

            return(null);
        }