1 write to _interactionService
aspire (1)
Templating\CliTemplateFactory.cs (1)
93_interactionService = interactionService;
38 references to _interactionService
aspire (38)
Templating\CliTemplateFactory.cs (5)
253var isExtensionHost = ExtensionHelper.IsExtensionHost(_interactionService, out _, out _); 255_interactionService, 271_interactionService); 389_interactionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.RunCdThenAspireRun, relativePath)); 393_interactionService.DisplayMessage(KnownEmojis.Information, TemplatingStrings.RunAspireRun);
Templating\CliTemplateFactory.EmptyTemplate.cs (7)
19_interactionService.DisplayError("Language selection is required."); 26_interactionService.DisplayError($"Unknown language: '{languageId}'"); 65templateResult = await _interactionService.ShowStatusAsync( 121_interactionService.DisplayError($"Failed to create project files: {ex.Message}"); 125_interactionService.DisplaySuccess($"Created {language.DisplayName.EscapeMarkup()} project at {outputPath.EscapeMarkup()}"); 135var useLocalhostTld = await _interactionService.PromptConfirmAsync( 142_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
Templating\CliTemplateFactory.GoStarterTemplate.cs (6)
25_interactionService.DisplayError("Unable to determine Aspire version for the Go starter template."); 48templateResult = await _interactionService.ShowStatusAsync( 80_interactionService.DisplayError("Automatic 'aspire restore' is unavailable for the new Go starter project because no Go AppHost SDK generator was found."); 88_interactionService.DisplayError("Automatic 'aspire restore' failed for the new Go starter project. Run 'aspire restore' in the project directory for more details."); 103_interactionService.DisplayError($"Failed to create project files: {ex.Message}"); 107_interactionService.DisplaySuccess($"Created Go starter project at {outputPath.EscapeMarkup()}");
Templating\CliTemplateFactory.JavaStarterTemplate.cs (6)
25_interactionService.DisplayError("Unable to determine Aspire version for the Java starter template."); 48templateResult = await _interactionService.ShowStatusAsync( 80_interactionService.DisplayError("Automatic 'aspire restore' is unavailable for the new Java starter project because no Java AppHost SDK generator was found."); 88_interactionService.DisplayError("Automatic 'aspire restore' failed for the new Java starter project. Run 'aspire restore' in the project directory for more details."); 103_interactionService.DisplayError($"Failed to create project files: {ex.Message}"); 107_interactionService.DisplaySuccess($"Created Java starter project at {outputPath.EscapeMarkup()}");
Templating\CliTemplateFactory.PythonStarterTemplate.cs (8)
26_interactionService.DisplayError("Unable to determine Aspire version for the Python starter template."); 50templateResult = await _interactionService.ShowStatusAsync( 94_interactionService.DisplayError("Automatic 'aspire restore' is unavailable for the new Python starter project because no TypeScript AppHost SDK generator was found."); 102_interactionService.DisplayError("Automatic 'aspire restore' failed for the new Python starter project. Run 'aspire restore' in the project directory for more details."); 117_interactionService.DisplayError($"Failed to create project files: {ex.Message}"); 121_interactionService.DisplaySuccess($"Created Python starter project at {outputPath.EscapeMarkup()}"); 131var useRedisCache = await _interactionService.PromptConfirmAsync( 138_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseRedisCache_UsingRedisCache);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (6)
26_interactionService.DisplayError("Unable to determine Aspire version for the TypeScript starter template."); 49templateResult = 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."); 101_interactionService.DisplayError($"Failed to create project files: {ex.Message}"); 105_interactionService.DisplaySuccess($"Created TypeScript starter project at {outputPath.EscapeMarkup()}");