1 write to _interactionService
aspire (1)
Templating\CliTemplateFactory.cs (1)
66
_interactionService
= interactionService;
15 references to _interactionService
aspire (15)
Templating\CliTemplateFactory.cs (2)
229
_interactionService
.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.RunCdThenAspireRun, relativePath));
233
_interactionService
.DisplayMessage(KnownEmojis.Information, TemplatingStrings.RunAspireRun);
Templating\CliTemplateFactory.EmptyTemplate.cs (7)
20
_interactionService
.DisplayError("Language selection is required.");
27
_interactionService
.DisplayError($"Unknown language: '{languageId}'");
65
templateResult = await
_interactionService
.ShowStatusAsync(
99
_interactionService
.DisplayError($"Failed to create project files: {ex.Message}");
103
_interactionService
.DisplaySuccess($"Created {language.DisplayName.EscapeMarkup()} project at {outputPath.EscapeMarkup()}");
121
useLocalhostTld = await
_interactionService
.PromptForSelectionAsync(
135
_interactionService
.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (6)
26
_interactionService
.DisplayError("Unable to determine Aspire version for the TypeScript starter template.");
51
templateResult = await
_interactionService
.ShowStatusAsync(
78
_interactionService
.DisplayError("Automatic 'aspire restore' is unavailable for the new TypeScript starter project because no TypeScript AppHost SDK generator was found.");
86
_interactionService
.DisplayError("Automatic 'aspire restore' failed for the new TypeScript starter project. Run 'aspire restore' in the project directory for more details.");
100
_interactionService
.DisplayError($"Failed to create project files: {ex.Message}");
104
_interactionService
.DisplaySuccess($"Created TypeScript starter project at {outputPath.EscapeMarkup()}");