public ProcessedTemplateResult ProcessTemplate(SolutionTemplate template, NewProjectConfiguration config, SolutionFolder parentFolder) { IProjectTemplatingProvider provider = GetTemplatingProviderForTemplate(template); if (provider != null) { return(provider.ProcessTemplate(template, config, parentFolder)); } return(null); }
public ProcessedTemplateResult ProcessTemplate(SolutionTemplate template, NewProjectConfiguration config, SolutionFolder parentFolder) { IProjectTemplatingProvider provider = GetTemplatingProviderForTemplate(template); if (provider != null) { var result = provider.ProcessTemplate(template, config, parentFolder); if (result.WorkspaceItems.Any()) { RecentTemplates.AddTemplate(template); } return(result); } return(null); }