8 implementations of DisplayMessage
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
204
public void
DisplayMessage
(string emoji, string message)
Interaction\ExtensionInteractionService.cs (1)
236
public void
DisplayMessage
(string emoji, string message)
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (1)
945
public void
DisplayMessage
(string emoji, string message) { }
Commands\PublishCommandPromptingIntegrationTests.cs (1)
942
public void
DisplayMessage
(string emoji, string message) { }
Commands\UpdateCommandTests.cs (1)
964
public void
DisplayMessage
(string emoji, string message) => _innerService.DisplayMessage(emoji, message);
Templating\DotNetTemplateFactoryTests.cs (1)
435
public void
DisplayMessage
(string emoji, string message) { }
TestServices\TestConsoleInteractionService.cs (1)
82
public void
DisplayMessage
(string emoji, string message)
TestServices\TestExtensionInteractionService.cs (1)
70
public void
DisplayMessage
(string emoji, string message)
61 references to DisplayMessage
aspire (60)
Backchannel\AppHostConnectionResolver.cs (1)
136
interactionService.
DisplayMessage
("information", noInScopeMessage);
Certificates\CertificateService.cs (1)
124
interactionService.
DisplayMessage
("warning", string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificatesMayNotBeFullyTrusted, trustExitCode));
Commands\CacheCommand.cs (1)
152
InteractionService.
DisplayMessage
("information", CacheCommandStrings.CacheAlreadyEmpty);
Commands\ConfigCommand.cs (1)
227
InteractionService.
DisplayMessage
("information", ConfigCommandStrings.NoConfigurationValuesFound);
Commands\ExecCommand.cs (1)
202
InteractionService.
DisplayMessage
(emoji: "bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
Commands\InitCommand.cs (8)
153
InteractionService.
DisplayMessage
("information", $"Creating {languageInfo.DisplayName} AppHost...");
174
InteractionService.
DisplayMessage
("information", string.Format(CultureInfo.CurrentCulture, InitCommandStrings.SolutionDetected, initContext.SelectedSolutionFile.Name));
181
InteractionService.
DisplayMessage
("information", InitCommandStrings.NoSolutionFoundCreatingSingleFileAppHost);
225
InteractionService.
DisplayMessage
("check_mark", InitCommandStrings.SolutionAlreadyInitialized);
257
InteractionService.
DisplayMessage
("information", "The following projects will be added to the AppHost:");
262
InteractionService.
DisplayMessage
("check_box_with_check", project.ProjectFile.Name);
561
InteractionService.
DisplayMessage
("check_mark", $"{appHostFileName} already exists in this directory.");
571
InteractionService.
DisplayMessage
("information", $"Run 'aspire run' to start your AppHost.");
Commands\LogsCommand.cs (1)
305
_interactionService.
DisplayMessage
("ℹ️", LogsCommandStrings.NoResourcesFound);
Commands\NewCommand.cs (1)
236
InteractionService.
DisplayMessage
("information", "Run 'aspire run' to start your AppHost.");
Commands\PipelineCommandBase.cs (1)
176
InteractionService.
DisplayMessage
("bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
Commands\PsCommand.cs (1)
105
_interactionService.
DisplayMessage
("information", PsCommandStrings.NoRunningAppHostsFound);
Commands\ResourceCommandHelper.cs (2)
73
interactionService.
DisplayMessage
("warning", $"Command '{commandName}' on '{resourceName}' was canceled.");
99
interactionService.
DisplayMessage
("warning", $"{progressVerb} command for '{resourceName}' was canceled.");
Commands\RunCommand.cs (4)
225
InteractionService.
DisplayMessage
("warning", RunCommandStrings.IsolatedModeRunningInstanceWarning);
382
InteractionService.
DisplayMessage
("page_facing_up", string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath.EscapeMarkup()));
391
InteractionService.
DisplayMessage
("page_facing_up", string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath.EscapeMarkup()));
870
_interactionService.
DisplayMessage
("magnifying_glass_tilted_right", string.Format(
Commands\Sdk\SdkDumpCommand.cs (1)
156
InteractionService.
DisplayMessage
("wrench", line.EscapeMarkup());
Commands\Sdk\SdkGenerateCommand.cs (1)
158
InteractionService.
DisplayMessage
("wrench", line.EscapeMarkup());
Commands\SetupCommand.cs (3)
82
InteractionService.
DisplayMessage
(":information:", "This CLI binary does not contain an embedded bundle. No extraction needed.");
86
InteractionService.
DisplayMessage
(":white_check_mark:", "Bundle is already extracted and up to date. Use --force to re-extract.");
90
InteractionService.
DisplayMessage
(":white_check_mark:", $"Bundle extracted to {installPath}");
Commands\StopCommand.cs (2)
89
_interactionService.
DisplayMessage
("package", $"Found running AppHost: {displayPath}");
94
_interactionService.
DisplayMessage
("stop_sign", "Sending stop signal...");
Commands\UpdateCommand.cs (7)
117
InteractionService.
DisplayMessage
("information", UpdateCommandStrings.DotNetToolSelfUpdateMessage);
283
InteractionService.
DisplayMessage
("package", $"Current CLI location: {currentExePath}");
284
InteractionService.
DisplayMessage
("up_arrow", $"Updating to channel: {channel}");
344
InteractionService.
DisplayMessage
("package", "Extracting new CLI...");
359
InteractionService.
DisplayMessage
("floppy_disk", "Backing up current CLI...");
372
InteractionService.
DisplayMessage
("wrench", $"Installing new CLI to {installDir}...");
399
InteractionService.
DisplayMessage
("information", $"Note: {installDir} is not in your PATH. Add it to use the updated CLI globally.");
Packaging\NuGetConfigPrompter.cs (3)
60
_interactionService.
DisplayMessage
("package", TemplatingStrings.NuGetConfigCreatedConfirmationMessage);
74
_interactionService.
DisplayMessage
("package", "Updated NuGet.config with required package sources.");
103
_interactionService.
DisplayMessage
("package", "Created or updated NuGet.config in the project directory with required package sources.");
Projects\DotNetAppHostProject.cs (1)
554
_interactionService.
DisplayMessage
("key", RunCommandStrings.CopyingUserSecrets);
Projects\GuestAppHostProject.cs (3)
888
_interactionService.
DisplayMessage
("check_mark", UpdateCommandStrings.ProjectUpToDateMessage);
896
_interactionService.
DisplayMessage
("package", $"[bold yellow]Aspire SDK[/] [bold green]{config.SdkVersion}[/] to [bold green]{newSdkVersion}[/]");
900
_interactionService.
DisplayMessage
("package", $"[bold yellow]{packageId}[/] [bold green]{currentVersion}[/] to [bold green]{newVersion}[/]");
Projects\LanguageService.cs (1)
134
_interactionService.
DisplayMessage
("check_mark", $"Language preference saved to local settings: {selectedProject.DisplayName}");
Projects\ProjectLocator.cs (4)
54
interactionService.
DisplayMessage
("magnifying_glass_tilted_left", InteractionServiceStrings.FindingAppHosts);
102
interactionService.
DisplayMessage
("warning", string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, relativePath));
149
interactionService.
DisplayMessage
("warning", string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, settingsFile.FullName, qualifiedAppHostPath));
328
interactionService.
DisplayMessage
("file_cabinet", string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.CreatedSettingsFile, $"[bold]'{relativeSettingsFilePath}'[/]"));
Projects\ProjectUpdater.cs (4)
37
interactionService.
DisplayMessage
("check_mark", UpdateCommandStrings.ProjectUpToDateMessage);
55
interactionService.
DisplayMessage
("file_folder", $"[bold cyan]{projectName}[/]:");
60
interactionService.
DisplayMessage
("package", packageStep.GetFormattedDisplayText());
69
interactionService.
DisplayMessage
("warning", $"[yellow]{UpdateCommandStrings.FallbackParsingWarning}[/]");
Projects\RunningInstanceManager.cs (1)
61
_interactionService.
DisplayMessage
("stop_sign", $"Stopping previous instance (AppHost PID: {appHostInfo.ProcessId.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})");
Templating\DotNetTemplateFactory.cs (4)
249
interactionService.
DisplayMessage
("check_mark", TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
269
interactionService.
DisplayMessage
("check_mark", TemplatingStrings.UseRedisCache_UsingRedisCache);
308
interactionService.
DisplayMessage
("check_mark", string.Format(CultureInfo.CurrentCulture, TemplatingStrings.PromptForTFM_UsingForTesting, testFramework));
449
interactionService.
DisplayMessage
($"package", string.Format(CultureInfo.CurrentCulture, TemplatingStrings.UsingProjectTemplatesVersion, templateInstallResult.TemplateVersion));
Utils\CliDownloader.cs (1)
79
interactionService.
DisplayMessage
("check_mark", "Validating downloaded file...");
Utils\SdkInstallHelper.cs (1)
91
interactionService.
DisplayMessage
("information",
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
964
public void DisplayMessage(string emoji, string message) => _innerService.
DisplayMessage
(emoji, message);