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)
74TemplateCommand preferredTemplate = templatesToShow.OrderByDescending(x => x.Template.Precedence).First(); 76ShowTemplateDetailHeaders(preferredTemplate.Template, context.Output); 81ShowHintForOtherTemplates(templateGroup, preferredTemplate.Template, instantiateCommandArgs, context.Output); 120IEnumerable<string?> languages = matchingTemplates.Select(c => c.Template.GetLanguage()).Distinct(); 126IEnumerable<TemplateCommand> templatesForDefaultLanguage = filteredTemplates.Where(c => string.Equals(c.Template.GetLanguage(), defaultLanguage, StringComparison.OrdinalIgnoreCase)); 135matchingTemplates.Select(c => c.Template), 146matchingTemplates.Select(c => c.Template), 155IEnumerable<string?> types = filteredTemplates.Select(c => c.Template.GetTemplateType()).Distinct(); 160matchingTemplates.Select(c => c.Template),
Commands\create\TemplateCommandArgs.cs (1)
50Template = command.Template;
Commands\create\TemplateResult.cs (1)
34internal CliTemplateInfo TemplateInfo => _templateCommand.Template;