8 implementations of DisplayMessage
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
165
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)
906
public void
DisplayMessage
(string emoji, string message) { }
Commands\PublishCommandPromptingIntegrationTests.cs (1)
988
public void
DisplayMessage
(string emoji, string message) { }
Commands\UpdateCommandTests.cs (1)
963
public void
DisplayMessage
(string emoji, string message) => _innerService.DisplayMessage(emoji, message);
Templating\DotNetTemplateFactoryTests.cs (1)
421
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)
37 references to DisplayMessage
aspire (36)
Certificates\CertificateService.cs (1)
58
interactionService.
DisplayMessage
("warning", string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificatesMayNotBeFullyTrusted, trustExitCode));
Commands\CacheCommand.cs (1)
114
InteractionService.
DisplayMessage
("information", CacheCommandStrings.CacheAlreadyEmpty);
Commands\ConfigCommand.cs (1)
225
InteractionService.
DisplayMessage
("information", ConfigCommandStrings.NoConfigurationValuesFound);
Commands\ExecCommand.cs (1)
206
InteractionService.
DisplayMessage
(emoji: "bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
Commands\InitCommand.cs (5)
133
InteractionService.
DisplayMessage
("information", string.Format(CultureInfo.CurrentCulture, InitCommandStrings.SolutionDetected, initContext.SelectedSolutionFile.Name));
140
InteractionService.
DisplayMessage
("information", InitCommandStrings.NoSolutionFoundCreatingSingleFileAppHost);
184
InteractionService.
DisplayMessage
("check_mark", InitCommandStrings.SolutionAlreadyInitialized);
216
InteractionService.
DisplayMessage
("information", "The following projects will be added to the AppHost:");
221
InteractionService.
DisplayMessage
("check_box_with_check", project.ProjectFile.Name);
Commands\PipelineCommandBase.cs (1)
220
InteractionService.
DisplayMessage
("bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
Commands\RunCommand.cs (1)
551
InteractionService.
DisplayMessage
("stop_sign", $"Stopping previous instance (AppHost PID: {appHostInfo.ProcessId.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})");
Commands\UpdateCommand.cs (7)
119
InteractionService.
DisplayMessage
("information", UpdateCommandStrings.DotNetToolSelfUpdateMessage);
276
InteractionService.
DisplayMessage
("package", $"Current CLI location: {currentExePath}");
277
InteractionService.
DisplayMessage
("up_arrow", $"Updating to channel: {channel}");
324
InteractionService.
DisplayMessage
("package", "Extracting new CLI...");
339
InteractionService.
DisplayMessage
("floppy_disk", "Backing up current CLI...");
352
InteractionService.
DisplayMessage
("wrench", $"Installing new CLI to {installDir}...");
375
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\ProjectLocator.cs (5)
50
interactionService.
DisplayMessage
("magnifying_glass_tilted_left", InteractionServiceStrings.FindingAppHosts);
80
interactionService.
DisplayMessage
("warning", string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, relativePath));
193
interactionService.
DisplayMessage
("warning", string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, settingsFile.FullName, qualifiedAppHostPath));
232
interactionService.
DisplayMessage
("magnifying_glass_tilted_left", InteractionServiceStrings.FindingAppHosts);
436
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}[/]");
Templating\DotNetTemplateFactory.cs (4)
227
interactionService.
DisplayMessage
("check_mark", TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
247
interactionService.
DisplayMessage
("check_mark", TemplatingStrings.UseRedisCache_UsingRedisCache);
286
interactionService.
DisplayMessage
("check_mark", string.Format(CultureInfo.CurrentCulture, TemplatingStrings.PromptForTFM_UsingForTesting, testFramework));
438
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)
66
interactionService.
DisplayMessage
("information",
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
963
public void DisplayMessage(string emoji, string message) => _innerService.
DisplayMessage
(emoji, message);