7 implementations of DisplayMessage
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
146
public void
DisplayMessage
(string emoji, string message)
Interaction\ExtensionInteractionService.cs (1)
234
public void
DisplayMessage
(string emoji, string message)
Aspire.Cli.Tests (5)
Commands\NewCommandTests.cs (1)
674
public void
DisplayMessage
(string emoji, string message) { }
Commands\PublishCommandPromptingIntegrationTests.cs (1)
977
public void
DisplayMessage
(string emoji, string message) { }
Templating\DotNetTemplateFactoryTests.cs (1)
408
public void
DisplayMessage
(string emoji, string message) { }
TestServices\TestConsoleInteractionService.cs (1)
64
public void
DisplayMessage
(string emoji, string message)
TestServices\TestExtensionInteractionService.cs (1)
69
public void
DisplayMessage
(string emoji, string message)
26 references to DisplayMessage
aspire (26)
Certificates\CertificateService.cs (1)
58
interactionService.
DisplayMessage
("warning", string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificatesMayNotBeFullyTrusted, trustExitCode));
Commands\CacheCommand.cs (2)
51
InteractionService.
DisplayMessage
("information", CacheCommandStrings.CacheAlreadyEmpty);
86
InteractionService.
DisplayMessage
("information", CacheCommandStrings.CacheAlreadyEmpty);
Commands\ConfigCommand.cs (1)
225
InteractionService.
DisplayMessage
("information", ConfigCommandStrings.NoConfigurationValuesFound);
Commands\ExecCommand.cs (1)
200
InteractionService.
DisplayMessage
(emoji: "bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
Commands\InitCommand.cs (5)
113
InteractionService.
DisplayMessage
("information", string.Format(CultureInfo.CurrentCulture, InitCommandStrings.SolutionDetected, initContext.SelectedSolutionFile.Name));
120
InteractionService.
DisplayMessage
("information", InitCommandStrings.NoSolutionFoundCreatingSingleFileAppHost);
156
InteractionService.
DisplayMessage
("check_mark", InitCommandStrings.SolutionAlreadyInitialized);
188
InteractionService.
DisplayMessage
("information", "The following projects will be added to the AppHost:");
193
InteractionService.
DisplayMessage
("check_box_with_check", project.ProjectFile.Name);
Commands\PublishCommandBase.cs (1)
186
InteractionService.
DisplayMessage
("bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
Projects\ProjectLocator.cs (5)
47
interactionService.
DisplayMessage
("magnifying_glass_tilted_left", InteractionServiceStrings.FindingAppHosts);
77
interactionService.
DisplayMessage
("warning", string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, relativePath));
197
interactionService.
DisplayMessage
("warning", string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, settingsFile.FullName, qualifiedAppHostPath));
236
interactionService.
DisplayMessage
("magnifying_glass_tilted_left", InteractionServiceStrings.FindingAppHosts);
415
interactionService.
DisplayMessage
("file_cabinet", string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.CreatedSettingsFile, $"[bold]'{relativeSettingsFilePath}'[/]"));
Projects\ProjectUpdater.cs (4)
36
interactionService.
DisplayMessage
("check_mark", UpdateCommandStrings.ProjectUpToDateMessage);
54
interactionService.
DisplayMessage
("file_folder", $"[bold cyan]{projectName}[/]:");
59
interactionService.
DisplayMessage
("package", packageStep.GetFormattedDisplayText());
68
interactionService.
DisplayMessage
("warning", "[yellow]Note: Update plan generated using fallback XML parsing due to unresolvable AppHost SDK. Dependency analysis may have reduced accuracy.[/]");
Templating\DotNetTemplateFactory.cs (6)
165
interactionService.
DisplayMessage
("check_mark", TemplatingStrings.UseRedisCache_UsingRedisCache);
204
interactionService.
DisplayMessage
("check_mark", string.Format(CultureInfo.CurrentCulture, TemplatingStrings.PromptForTFM_UsingForTesting, testFramework));
327
interactionService.
DisplayMessage
($"package", string.Format(CultureInfo.CurrentCulture, TemplatingStrings.UsingProjectTemplatesVersion, templateInstallResult.TemplateVersion));
488
interactionService.
DisplayMessage
("package", "Created or updated NuGet.config in the project directory with required package sources.");
509
interactionService.
DisplayMessage
("package", TemplatingStrings.NuGetConfigCreatedConfirmationMessage);
523
interactionService.
DisplayMessage
("package", "Updated NuGet.config with required package sources.");