13 references to Template
Microsoft.TemplateEngine.Cli (13)
Commands\create\InstantiateCommand.cs (2)
263candidates.Select(c => c.Template), 382templateCommand.Template,
Commands\create\InstantiateCommand.Help.cs (9)
80TemplateCommand preferredTemplate = templatesToShow.OrderByDescending(x => x.Template.Precedence).First(); 82ShowTemplateDetailHeaders(preferredTemplate.Template, context.Output); 87ShowHintForOtherTemplates(templateGroup, preferredTemplate.Template, instantiateCommandArgs, context.Output); 110IEnumerable<string?> languages = matchingTemplates.Select(c => c.Template.GetLanguage()).Distinct(); 116IEnumerable<TemplateCommand> templatesForDefaultLanguage = filteredTemplates.Where(c => string.Equals(c.Template.GetLanguage(), defaultLanguage, StringComparison.OrdinalIgnoreCase)); 125matchingTemplates.Select(c => c.Template), 136matchingTemplates.Select(c => c.Template), 145IEnumerable<string?> types = filteredTemplates.Select(c => c.Template.GetTemplateType()).Distinct(); 150matchingTemplates.Select(c => c.Template),
Commands\create\TemplateCommandArgs.cs (1)
50Template = command.Template;
Commands\create\TemplateResult.cs (1)
34internal CliTemplateInfo TemplateInfo => _templateCommand.Template;