private static GenInfo CreateGenInfo(string name, ITemplateInfo template, List <GenInfo> queue, UserSelection userSelection, bool newItemGeneration) { var genInfo = new GenInfo(name, template); queue.Add(genInfo); AddDefaultParams(genInfo, userSelection, newItemGeneration); if (template.GetTemplateOutputType() == TemplateOutputType.Project) { AddProjectParams(genInfo, userSelection); } return(genInfo); }