8 implementations of DisplayMessage
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
587public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false, ConsoleOutput? consoleOverride = null)
Interaction\ExtensionInteractionService.cs (1)
429public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false, ConsoleOutput? consoleOverride = null)
Aspire.Cli.Tests (6)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1244public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false, ConsoleOutput? consoleOverride = null) { }
Commands\UpdateCommandTests.cs (1)
3944public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false, ConsoleOutput? consoleOverride = null) => _innerService.DisplayMessage(emoji, message, allowMarkup, consoleOverride);
Projects\ExtensionGuestLauncherTests.cs (1)
236public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false, ConsoleOutput? consoleOverride = null) => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (1)
404public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false, ConsoleOutput? consoleOverride = null) { }
TestServices\TestExtensionInteractionService.cs (1)
140public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false, ConsoleOutput? consoleOverride = null)
TestServices\TestInteractionService.cs (1)
290public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false, ConsoleOutput? consoleOverride = null)
200 references to DisplayMessage
aspire (199)
Agents\AgentInstructionsFile.cs (1)
370interactionService.DisplayMessage(emoji, string.Format(CultureInfo.CurrentCulture, format, displayPath, detail?.EscapeMarkup()));
Backchannel\AppHostConnectionResolver.cs (1)
354interactionService.DisplayMessage(KnownEmojis.Information, contextMessage);
Certificates\CertificateService.cs (5)
104interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificateGenerationFailed, generateResult)); 110interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, ErrorStrings.CertificatesPartiallyTrustedNonInteractive); 114interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, ErrorStrings.CertificatesNotTrustedNonInteractive); 139interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, CertificatesCommandStrings.TrustCancelled); 143interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificatesMayNotBeFullyTrusted, trustResultCode));
Commands\AddCommand.cs (3)
406InteractionService.DisplayMessage(KnownEmojis.Package, Aspire.Cli.Resources.TemplatingStrings.NuGetConfigCreatedOrUpdatedConfirmationMessage); 469InteractionService.DisplayMessage(KnownEmojis.Information, AddCommandStrings.StoppedRunningInstance); 950interactionService.DisplayMessage(KnownEmojis.Information, AddCommandStrings.IntegrationSourceExplanation);
Commands\AgentInitCommand.cs (13)
411InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, AgentCommandStrings.ConfigurationCompletedWithErrors); 476InteractionService.DisplayMessage(KnownEmojis.Information, AgentCommandStrings.InitCommand_SkillSourcesExplanation); 550InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, AgentCommandStrings.ConfigurationCompletedWithErrors); 605InteractionService.DisplayMessage(KnownEmojis.FileFolder, removedSkillCopies.Count == 1 667InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, AgentCommandStrings.InitCommand_InstalledPlaywrightCli); 670InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, message!); 743InteractionService.DisplayMessage(emoji, message); 792InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, AgentCommandStrings.ConfigurationCompletedWithErrors); 998InteractionService.DisplayMessage( 1153InteractionService.DisplayMessage(KnownEmojis.Robot, message, allowMarkup: true); 1189InteractionService.DisplayMessage(KnownEmojis.Robot, message); 1236InteractionService.DisplayMessage(KnownEmojis.FileFolder, string.Join(Environment.NewLine, 1281=> InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Join(Environment.NewLine,
Commands\AppHostConnectionResultHandler.cs (1)
32interactionService.DisplayMessage(KnownEmojis.Information, errorMessage);
Commands\AppHostLauncher.cs (2)
236interactionService.DisplayMessage( 939interactionService.DisplayMessage(KnownEmojis.Information, $"{RunCommandStrings.RecentAppHostStartupOutput}:");
Commands\BaseCommand.cs (2)
264InteractionService.DisplayMessage( 274InteractionService.DisplayMessage(
Commands\CacheCommand.cs (1)
56InteractionService.DisplayMessage(KnownEmojis.Information, CacheCommandStrings.CacheAlreadyEmpty);
Commands\CertificatesCleanCommand.cs (2)
27InteractionService.DisplayMessage(KnownEmojis.Information, CertificatesCommandStrings.CleanProgress); 39InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, CertificatesCommandStrings.CleanCancelled);
Commands\CertificatesTrustCommand.cs (2)
29InteractionService.DisplayMessage(KnownEmojis.Information, CertificatesCommandStrings.TrustProgress); 37InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, CertificatesCommandStrings.TrustPartialSuccess);
Commands\ConfigCommand.cs (1)
256InteractionService.DisplayMessage(KnownEmojis.Information, ConfigCommandStrings.NoConfigurationValuesFound);
Commands\DescribeCommand.cs (2)
415InteractionService.DisplayMessage(KnownEmojis.Information, "No resources found."); 495InteractionService.DisplayMessage(
Commands\ExportCommand.cs (3)
113InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, ExportCommandStrings.DashboardNotAvailable); 175InteractionService.DisplayMessage(KnownEmojis.Information, ExportCommandStrings.NoResourcesFound); 227InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, ExportCommandStrings.ExportComplete, fullPath));
Commands\InitCommand.cs (14)
230InteractionService.DisplayMessage( 258InteractionService.DisplayMessage( 352InteractionService.DisplayMessage(KnownEmojis.Package, TemplatingStrings.NuGetConfigCreatedOrUpdatedConfirmationMessage); 358InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FileAlreadyExistsSkipping, "apphost.cs")); 374InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, "apphost.cs")); 445InteractionService.DisplayMessage(KnownEmojis.Package, TemplatingStrings.NuGetConfigCreatedOrUpdatedConfirmationMessage); 450InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FileAlreadyExistsSkipping, $"{appHostDirName}/")); 547InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, $"{appHostDirName}/")); 562InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FileAlreadyExistsSkipping, existingAppHostFileName)); 570InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FileAlreadyExistsSkipping, displayPath)); 599InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, displayPath)); 626InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FixOrRemoveConfigAndRerun, AspireConfigFile.FileName)); 721InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, AspireConfigFile.FileName)); 916InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, fileName));
Commands\LogsCommand.cs (2)
195InteractionService.DisplayMessage(KnownEmojis.Information, LogsCommandStrings.NoResourcesFound); 282InteractionService.DisplayMessage(KnownEmojis.Information, LogsCommandStrings.NoLogsFound);
Commands\LsCommand.cs (1)
124InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.LsNoCandidateAppHostsFound);
Commands\McpToolsCommand.cs (1)
63InteractionService.DisplayMessage(KnownEmojis.Information, "No resources with MCP tools found.");
Commands\PipelineCommandBase.cs (1)
316InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
Commands\PsCommand.cs (1)
181InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning);
Commands\RenderCommand.cs (11)
238InteractionService.DisplayMessage(emoji, $"DisplayMessage with {emoji.Name}"); 242InteractionService.DisplayMessage(KnownEmojis.Rocket, "This is a much longer message that is designed to test how text wraps when the terminal window is narrow. It should wrap cleanly beneath the text column without pushing content under the emoji icon on the left side of the display."); 243InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, "Successfully deployed the application to the remote environment. The deployment included 14 services, 3 databases, and 2 message brokers. All health checks passed and the application is now accepting traffic on the configured endpoints."); 339InteractionService.DisplayMessage(KnownEmojis.Rocket, $"Deploying to {selected}..."); 345InteractionService.DisplayMessage(KnownEmojis.Rocket, "Starting mixed methods test..."); 350InteractionService.DisplayMessage(KnownEmojis.MagnifyingGlassTiltedLeft, "Searching for [packages]..."); 378InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, $"You entered: {name}"); 395InteractionService.DisplayMessage(KnownEmojis.StopSign, "Mixed methods test complete."); 411InteractionService.DisplayMessage(KnownEmojis.Information, "This demo fires background log messages while a prompt is active."); 412InteractionService.DisplayMessage(KnownEmojis.Information, "Logs are buffered and flushed after the prompt completes."); 442InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, "Buffered log lines should appear above this message.");
Commands\ResourceCommandHelper.cs (2)
92interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"Command '{commandName}' on '{resourceName}' was canceled."); 135interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"{progressVerb} command for '{resourceName}' was canceled.");
Commands\RunCommand.cs (5)
354InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, RunCommandStrings.IsolatedModeRunningInstanceWarning); 459InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 494InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, RunCommandStrings.DashboardFailedToStart); 653InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, "No longer receiving logs from AppHost."); 821interactionService.DisplayMessage(KnownEmojis.Information, $"{RunCommandStrings.RecentAppHostStartupOutput}:");
Commands\Sdk\SdkDumpCommand.cs (3)
197InteractionService.DisplayMessage(KnownEmojis.Wrench, line); 293InteractionService.DisplayMessage(KnownEmojis.Wrench, line); 319InteractionService.DisplayMessage(KnownEmojis.CrossMark, $"{failure.IntegrationName}: {failure.ErrorMessage}");
Commands\Sdk\SdkExportCommand.cs (1)
204InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\Sdk\SdkGenerateCommand.cs (1)
151InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\SecretListCommand.cs (2)
95InteractionService.DisplayMessage(KnownEmojis.Information, SecretCommandStrings.NoSecretsConfigured); 150InteractionService.DisplayMessage(KnownEmojis.Information, SecretCommandStrings.NoSecretsConfigured);
Commands\SetupCommand.cs (3)
79InteractionService.DisplayMessage(KnownEmojis.Information, "This CLI binary does not contain an embedded bundle. No extraction needed."); 83InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, "Bundle is already extracted and up to date. Use --force to re-extract."); 87InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, $"Bundle extracted to {installPath}");
Commands\StopCommand.cs (10)
194InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, StopCommandStrings.ResourceTeardownMayContinue, s_waitOption.Name)); 379InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning); 392InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning); 477InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.AppHostNotRunningAtPath, displayPath)); 548InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, StopCommandStrings.DcpCleanupCompatibilityCheckFailed); 554InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, StopCommandStrings.DcpCleanupCompatibilityCheckFailed); 579InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format( 637InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning); 678InteractionService.DisplayMessage(KnownEmojis.Package, string.Format(CultureInfo.CurrentCulture, StopCommandStrings.FoundRunningAppHost, appHostIdentifier)); 681InteractionService.DisplayMessage(KnownEmojis.StopSign, string.Format(CultureInfo.CurrentCulture, StopCommandStrings.SendingStopSignal, appHostIdentifier));
Commands\TelemetryCommandHelpers.cs (1)
341interactionService.DisplayMessage(KnownEmojis.Information, hint);
Commands\TemplateManagementCommand.cs (1)
125InteractionService.DisplayMessage(KnownEmojis.Information, NewCommandStrings.TemplateSourceListEmpty);
Commands\TerminalAttachCommand.cs (3)
121_interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, 129_interactionService.DisplayMessage(KnownEmojis.Information, 172_interactionService.DisplayMessage(KnownEmojis.Information,
Commands\TerminalPsCommand.cs (2)
108_interactionService.DisplayMessage(KnownEmojis.Information, connectionResult.ErrorMessage); 136_interactionService.DisplayMessage(KnownEmojis.Information,
Commands\TestCommand.cs (5)
234InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, TestCommandStrings.IsolatedModeRunningInstanceWarning); 291InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 323InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, TestCommandStrings.DashboardFailedToStart); 338InteractionService.DisplayMessage(KnownEmojis.Information, $"{TestCommandStrings.RecentAppHostStartupOutput}:"); 395InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, TestCommandStrings.LogCaptureFailed);
Commands\TrayLifecycleService.cs (1)
133interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, TrayCommandStrings.NoTrayHost);
Commands\UpdateCommand.cs (21)
254InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 265InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.NpmSelfUpdateMessage); 398InteractionService.DisplayMessage(KnownEmojis.Information, string.Format( 540InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 548InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.NpmSelfUpdateMessage); 649InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.PendingMigrationsHeader); 669InteractionService.DisplayMessage(KnownEmojis.Gear, MigrationStrings.AvailableMigrationsHeader); 703InteractionService.DisplayMessage(KnownEmojis.PoliceCarLight, UpdateCommandStrings.MigrationApplyFailedWarning); 775InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.ProjectUpdateSkippedAfterCliUpdateMessage); 792InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 794InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.ProjectUpdateSkippedAfterCliUpdateMessage); 801InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.NpmSelfUpdateMessage); 803InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.ProjectUpdateSkippedAfterCliUpdateMessage); 810InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.ProjectUpdateSkippedAfterCliUpdateMessage); 854InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.NixSelfUpdateMessage); 922InteractionService.DisplayMessage(KnownEmojis.Package, $"Current CLI location: {currentExePath}"); 923InteractionService.DisplayMessage(KnownEmojis.UpButton, $"Updating to channel: {channel}"); 979InteractionService.DisplayMessage(KnownEmojis.Package, UpdateCommandStrings.ExtractedNewCli); 1001InteractionService.DisplayMessage(KnownEmojis.FloppyDisk, "Backing up current CLI..."); 1013InteractionService.DisplayMessage(KnownEmojis.Wrench, $"Installing new CLI to {installDir}..."); 1037InteractionService.DisplayMessage(KnownEmojis.Information, $"Note: {installDir} is not in your PATH. Add it to use the updated CLI globally.");
Configuration\ConfigSourceService.cs (5)
154interaction.DisplayMessage(pending.Emoji, message, consoleOverride: ConsoleOutput.Error); 228interaction.DisplayMessage(KnownEmojis.Information, ConfigSourceStrings.Explanation); 232interaction.DisplayMessage(KnownEmojis.Information, 556interaction.DisplayMessage(KnownEmojis.Information, ConfigSourceStrings.NoBinding, consoleOverride: ConsoleOutput.Error); 565interaction.DisplayMessage(
Migrations\TypeScriptAppHostMigration.cs (2)
356_interactionService.DisplayMessage( 369_interactionService.DisplayMessage(
Profiling\ProfileCaptureService.cs (1)
347_interactionService.DisplayMessage(
Program.cs (1)
986interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"[yellow]{notice.EscapeMarkup()}[/]", allowMarkup: true, consoleOverride: ConsoleOutput.Error);
Projects\DotNetAppHostProject.cs (2)
2654_interactionService.DisplayMessage(KnownEmojis.Key, $"Initializing user secrets for {projectFile.Name}..."); 2806_interactionService.DisplayMessage(KnownEmojis.Key, RunCommandStrings.CopyingUserSecrets);
Projects\GuestAppHostProject.cs (12)
1978_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, UpdateCommandStrings.ProjectUpToDateMessage); 1988_interactionService.DisplayMessage(KnownEmojis.Package, $"[bold yellow]Aspire SDK[/] [bold green]{config.SdkVersion.EscapeMarkup()}[/] to [bold green]{newSdkVersion.EscapeMarkup()}[/]", allowMarkup: true); 1992_interactionService.DisplayMessage(KnownEmojis.Package, $"[bold yellow]{packageId.EscapeMarkup()}[/] [bold green]{currentVersion.EscapeMarkup()}[/] to [bold green]{newVersion.EscapeMarkup()}[/]", allowMarkup: true); 1996_interactionService.DisplayMessage(KnownEmojis.Package, step.GetFormattedDisplayText(), allowMarkup: true); 2064_interactionService.DisplayMessage(KnownEmojis.Package, UpdateCommandStrings.RegeneratedSdkCode); 2151_interactionService.DisplayMessage( 2285_interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"[yellow]{Markup.Escape(message)}[/]", allowMarkup: true); 2331_interactionService.DisplayMessage(KnownEmojis.Information, $"[grey]{Markup.Escape(hint!)}[/]", allowMarkup: true); 2349_interactionService.DisplayMessage(KnownEmojis.Information, $"[grey]{Markup.Escape(ErrorStrings.CodegenDebugHint)}[/]", allowMarkup: true); 2353_interactionService.DisplayMessage(KnownEmojis.Microscope, $"[grey]{Markup.Escape(ErrorStrings.CodegenDebugHeader)}[/]", allowMarkup: true); 2617_interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, MissingJavaScriptToolWarning.GetMessage(directory, _resolvedLanguage, _environment)); 2761_interactionService.DisplayMessage(
Projects\LanguageService.cs (1)
149_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, $"Language preference saved to local configuration: {selectedProject.DisplayName}");
Projects\ProjectLocator.cs (8)
452interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, relativePath)); 466interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, relativePath)); 547interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, relativePath)); 574interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, settingsAppHostRelativePath)); 585interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, settingsAppHostRelativePath)); 768interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, configFilePath, qualifiedPath)); 828interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, settingsFile.FullName, qualifiedAppHostPath)); 1368interactionService.DisplayMessage(KnownEmojis.FloppyDisk, string.Format(CultureInfo.CurrentCulture, message, $"[bold]'{relativeSettingsFilePath.EscapeMarkup()}'[/]"), allowMarkup: true);
Projects\ProjectUpdater.cs (5)
135interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, UpdateCommandStrings.ProjectUpToDateMessage); 154interactionService.DisplayMessage(KnownEmojis.FileFolder, $"[bold cyan]{projectName.EscapeMarkup()}[/]:", allowMarkup: true); 159interactionService.DisplayMessage(KnownEmojis.Package, packageStep.GetFormattedDisplayText(), allowMarkup: true); 168interactionService.DisplayMessage(KnownEmojis.Package, updateStep.GetFormattedDisplayText(), allowMarkup: true); 175interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"[yellow]{UpdateCommandStrings.FallbackParsingWarning}[/]", allowMarkup: true);
Projects\RepositoryToolUpdater.cs (5)
94interactionService.DisplayMessage(KnownEmojis.Package, updateStep.GetFormattedDisplayText(), allowMarkup: true); 123interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(CultureInfo.CurrentCulture, 145interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, UpdateCommandStrings.RepositoryToolsUpToDate); 168interactionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.RestoreRepositoryDotNetTool); 172interactionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.RestoreRepositoryNpmTool);
Projects\RunningInstanceManager.cs (1)
66_interactionService.DisplayMessage(KnownEmojis.StopSign, $"Stopping previous instance (AppHost PID: {appHostInfo.ProcessId.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})");
Scaffolding\ScaffoldingService.cs (2)
346_interactionService.DisplayMessage( 493_interactionService.DisplayMessage(
Templating\CliTemplateFactory.cs (2)
408_interactionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.RunCdThenAspireRun, relativePath)); 412_interactionService.DisplayMessage(KnownEmojis.Information, TemplatingStrings.RunAspireRun);
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
143_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
Templating\CliTemplateFactory.PythonStarterTemplate.cs (1)
138_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseRedisCache_UsingRedisCache);
Templating\ConfiguredTemplateSourceService.cs (2)
73interactionService.DisplayMessage(KnownEmojis.Information, NewCommandStrings.NoConfiguredTemplateSources); 115interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, string.Format(
Templating\DotNetTemplateFactory.cs (4)
303interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld); 319interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseRedisCache_UsingRedisCache); 361interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.PromptForTFM_UsingForTesting, testFramework)); 496interactionService.DisplayMessage(KnownEmojis.Package, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.UsingProjectTemplatesVersion, installOutcome.TemplateVersion));
Templating\TemplateNuGetConfigService.cs (1)
98interactionService.DisplayMessage(KnownEmojis.Package, Resources.TemplatingStrings.NuGetConfigCreatedConfirmationMessage);
Testing\TestRunReporter.cs (6)
92interaction.DisplayMessage(KnownEmojis.Microscope, TestCommandStrings.RunningHeader); 189_interaction.DisplayMessage(KnownEmojis.Microscope, string.Format(CultureInfo.CurrentCulture, 295_interaction.DisplayMessage(KnownEmojis.Gear, message, allowMarkup: true); 325_interaction.DisplayMessage(KnownEmojis.BarChart, string.Format(CultureInfo.CurrentCulture, 415_interaction.DisplayMessage(KnownEmojis.Microscope, string.Format(CultureInfo.CurrentCulture, 420_interaction.DisplayMessage(KnownEmojis.Microscope, string.Format(CultureInfo.CurrentCulture,
Utils\CliDownloader.cs (1)
85interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, "Validating downloaded file...");
Utils\ConsoleHelpers.cs (5)
75interactionService.DisplayMessage(KnownEmojis.Information, NewCommandStrings.TemplateSourceExplanation); 110interactionService.DisplayMessage(KnownEmojis.InboxTray, 136interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"[yellow]{SharedCommandStrings.SourceTrustWarning.EscapeMarkup()}[/]", allowMarkup: true, consoleOverride: ConsoleOutput.Error); 144interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"[yellow]{message.EscapeMarkup()}[/]", allowMarkup: true, consoleOverride: ConsoleOutput.Error); 152interactionService.DisplayMessage(KnownEmojis.PoliceCarLight, $"[yellow]{message.EscapeMarkup()}[/]", allowMarkup: true, consoleOverride: ConsoleOutput.Error);
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
3944public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false, ConsoleOutput? consoleOverride = null) => _innerService.DisplayMessage(emoji, message, allowMarkup, consoleOverride);