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)
74
TemplateCommand preferredTemplate = templatesToShow.OrderByDescending(x => x.
Template
.Precedence).First();
76
ShowTemplateDetailHeaders(preferredTemplate.
Template
, context.Output);
81
ShowHintForOtherTemplates(templateGroup, preferredTemplate.
Template
, instantiateCommandArgs, context.Output);
120
IEnumerable<string?> languages = matchingTemplates.Select(c => c.
Template
.GetLanguage()).Distinct();
126
IEnumerable<TemplateCommand> templatesForDefaultLanguage = filteredTemplates.Where(c => string.Equals(c.
Template
.GetLanguage(), defaultLanguage, StringComparison.OrdinalIgnoreCase));
135
matchingTemplates.Select(c => c.
Template
),
146
matchingTemplates.Select(c => c.
Template
),
155
IEnumerable<string?> types = filteredTemplates.Select(c => c.
Template
.GetTemplateType()).Distinct();
160
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
;