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