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