1 write to _templates
aspire (1)
Commands\NewCommand.cs (1)
74
_templates
= templateProvider.GetTemplates();
3 references to _templates
aspire (3)
Commands\NewCommand.cs (3)
76
foreach (var template in
_templates
)
88
if (parseResult.CommandResult.Command != this &&
_templates
.Single(t => t.Name.Equals(parseResult.CommandResult.Command.Name, StringComparison.OrdinalIgnoreCase)) is ITemplate template)
96
return await _prompter.PromptForTemplateAsync(
_templates
.ToArray(), cancellationToken);