8 implementations of DisplayMessage
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
239public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false)
Interaction\ExtensionInteractionService.cs (1)
298public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false)
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (1)
1403public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) { }
Commands\PublishCommandPromptingIntegrationTests.cs (1)
947public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) { }
Commands\UpdateCommandTests.cs (1)
1061public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) => _innerService.DisplayMessage(emoji, message, allowMarkup);
Templating\DotNetTemplateFactoryTests.cs (1)
483public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) { }
TestServices\TestConsoleInteractionService.cs (1)
89public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false)
TestServices\TestExtensionInteractionService.cs (1)
77public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false)
76 references to DisplayMessage
aspire (75)
Backchannel\AppHostConnectionResolver.cs (1)
178interactionService.DisplayMessage(KnownEmojis.Information, contextMessage);
Certificates\CertificateService.cs (1)
126interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificatesMayNotBeFullyTrusted, trustExitCode));
Commands\AddCommand.cs (1)
222InteractionService.DisplayMessage(KnownEmojis.Information, AddCommandStrings.StoppedRunningInstance);
Commands\AgentInitCommand.cs (1)
165_interactionService.DisplayMessage(KnownEmojis.Warning, AgentCommandStrings.ConfigurationCompletedWithErrors);
Commands\AppHostLauncher.cs (1)
305interactionService.DisplayMessage(KnownEmojis.MagnifyingGlassTiltedRight, string.Format(
Commands\CacheCommand.cs (1)
153InteractionService.DisplayMessage(KnownEmojis.Information, CacheCommandStrings.CacheAlreadyEmpty);
Commands\ConfigCommand.cs (1)
229InteractionService.DisplayMessage(KnownEmojis.Information, ConfigCommandStrings.NoConfigurationValuesFound);
Commands\DescribeCommand.cs (1)
132_interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage);
Commands\ExecCommand.cs (1)
191InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
Commands\InitCommand.cs (8)
141InteractionService.DisplayMessage(KnownEmojis.Information, $"Creating {languageInfo.DisplayName} AppHost..."); 161InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.SolutionDetected, initContext.SelectedSolutionFile.Name)); 168InteractionService.DisplayMessage(KnownEmojis.Information, InitCommandStrings.NoSolutionFoundCreatingSingleFileAppHost); 212InteractionService.DisplayMessage(KnownEmojis.CheckMark, InitCommandStrings.SolutionAlreadyInitialized); 244InteractionService.DisplayMessage(KnownEmojis.Information, "The following projects will be added to the AppHost:"); 249InteractionService.DisplayMessage(KnownEmojis.CheckBoxWithCheck, project.ProjectFile.Name); 548InteractionService.DisplayMessage(KnownEmojis.CheckMark, $"{appHostFileName} already exists in this directory."); 558InteractionService.DisplayMessage(KnownEmojis.Information, $"Run 'aspire run' to start your AppHost.");
Commands\LogsCommand.cs (2)
158_interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage); 185_interactionService.DisplayMessage(KnownEmojis.Information, LogsCommandStrings.NoResourcesFound);
Commands\PipelineCommandBase.cs (1)
173InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
Commands\PsCommand.cs (1)
122_interactionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning);
Commands\RenderCommand.cs (5)
91InteractionService.DisplayMessage(emoji, $"DisplayMessage with {emoji.Name}"); 145InteractionService.DisplayMessage(KnownEmojis.Rocket, "Starting mixed methods test..."); 150InteractionService.DisplayMessage(KnownEmojis.MagnifyingGlassTiltedLeft, "Searching for [packages]..."); 178InteractionService.DisplayMessage(KnownEmojis.CheckMark, $"You entered: {name}"); 195InteractionService.DisplayMessage(KnownEmojis.StopSign, "Mixed methods test complete.");
Commands\ResourceCommandHelper.cs (2)
73interactionService.DisplayMessage(KnownEmojis.Warning, $"Command '{commandName}' on '{resourceName}' was canceled."); 99interactionService.DisplayMessage(KnownEmojis.Warning, $"{progressVerb} command for '{resourceName}' was canceled.");
Commands\RunCommand.cs (3)
212InteractionService.DisplayMessage(KnownEmojis.Warning, RunCommandStrings.IsolatedModeRunningInstanceWarning); 393InteractionService.DisplayMessage(KnownEmojis.PageFacingUp, string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath)); 402InteractionService.DisplayMessage(KnownEmojis.PageFacingUp, string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath));
Commands\Sdk\SdkDumpCommand.cs (1)
157InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\Sdk\SdkGenerateCommand.cs (1)
158InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\SecretListCommand.cs (1)
73InteractionService.DisplayMessage(KnownEmojis.Information, SecretCommandStrings.NoSecretsConfigured);
Commands\SetupCommand.cs (3)
84InteractionService.DisplayMessage(KnownEmojis.Information, "This CLI binary does not contain an embedded bundle. No extraction needed."); 88InteractionService.DisplayMessage(KnownEmojis.CheckMark, "Bundle is already extracted and up to date. Use --force to re-extract."); 92InteractionService.DisplayMessage(KnownEmojis.CheckMark, $"Bundle extracted to {installPath}");
Commands\StopCommand.cs (3)
157_interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage); 216_interactionService.DisplayMessage(KnownEmojis.Package, $"Found running AppHost: {displayPath}"); 221_interactionService.DisplayMessage(KnownEmojis.StopSign, "Sending stop signal...");
Commands\TelemetryCommandHelpers.cs (1)
120interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage);
Commands\UpdateCommand.cs (7)
116InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 294InteractionService.DisplayMessage(KnownEmojis.Package, $"Current CLI location: {currentExePath}"); 295InteractionService.DisplayMessage(KnownEmojis.UpButton, $"Updating to channel: {channel}"); 364InteractionService.DisplayMessage(KnownEmojis.Package, UpdateCommandStrings.ExtractedNewCli); 378InteractionService.DisplayMessage(KnownEmojis.FloppyDisk, "Backing up current CLI..."); 391InteractionService.DisplayMessage(KnownEmojis.Wrench, $"Installing new CLI to {installDir}..."); 418InteractionService.DisplayMessage(KnownEmojis.Information, $"Note: {installDir} is not in your PATH. Add it to use the updated CLI globally.");
Packaging\NuGetConfigPrompter.cs (3)
60_interactionService.DisplayMessage(KnownEmojis.Package, TemplatingStrings.NuGetConfigCreatedConfirmationMessage); 74_interactionService.DisplayMessage(KnownEmojis.Package, "Updated NuGet.config with required package sources."); 103_interactionService.DisplayMessage(KnownEmojis.Package, "Created or updated NuGet.config in the project directory with required package sources.");
Projects\DotNetAppHostProject.cs (2)
526_interactionService.DisplayMessage(KnownEmojis.Key, $"Initializing user secrets for {projectFile.Name}..."); 589_interactionService.DisplayMessage(KnownEmojis.Key, RunCommandStrings.CopyingUserSecrets);
Projects\GuestAppHostProject.cs (4)
927_interactionService.DisplayMessage(KnownEmojis.CheckMark, UpdateCommandStrings.ProjectUpToDateMessage); 935_interactionService.DisplayMessage(KnownEmojis.Package, $"[bold yellow]Aspire SDK[/] [bold green]{config.SdkVersion.EscapeMarkup()}[/] to [bold green]{newSdkVersion.EscapeMarkup()}[/]", allowMarkup: true); 939_interactionService.DisplayMessage(KnownEmojis.Package, $"[bold yellow]{packageId.EscapeMarkup()}[/] [bold green]{currentVersion.EscapeMarkup()}[/] to [bold green]{newVersion.EscapeMarkup()}[/]", allowMarkup: true); 975_interactionService.DisplayMessage(KnownEmojis.Package, UpdateCommandStrings.RegeneratedSdkCode);
Projects\LanguageService.cs (1)
134_interactionService.DisplayMessage(KnownEmojis.CheckMark, $"Language preference saved to local settings: {selectedProject.DisplayName}");
Projects\ProjectLocator.cs (4)
55interactionService.DisplayMessage(KnownEmojis.MagnifyingGlassTiltedLeft, InteractionServiceStrings.FindingAppHosts); 103interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, relativePath)); 150interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, settingsFile.FullName, qualifiedAppHostPath)); 328interactionService.DisplayMessage(KnownEmojis.FileCabinet, string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.CreatedSettingsFile, $"[bold]'{relativeSettingsFilePath.EscapeMarkup()}'[/]"), allowMarkup: true);
Projects\ProjectUpdater.cs (4)
37interactionService.DisplayMessage(KnownEmojis.CheckMark, UpdateCommandStrings.ProjectUpToDateMessage); 55interactionService.DisplayMessage(KnownEmojis.FileFolder, $"[bold cyan]{projectName.EscapeMarkup()}[/]:", allowMarkup: true); 60interactionService.DisplayMessage(KnownEmojis.Package, packageStep.GetFormattedDisplayText(), allowMarkup: true); 69interactionService.DisplayMessage(KnownEmojis.Warning, $"[yellow]{UpdateCommandStrings.FallbackParsingWarning}[/]", allowMarkup: true);
Projects\RunningInstanceManager.cs (1)
61_interactionService.DisplayMessage(KnownEmojis.StopSign, $"Stopping previous instance (AppHost PID: {appHostInfo.ProcessId.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})");
Templating\CliTemplateFactory.EmptyTemplate.cs (2)
101_interactionService.DisplayMessage(KnownEmojis.Information, "Run 'aspire run' to start your AppHost."); 132_interactionService.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
93_interactionService.DisplayMessage(KnownEmojis.Information, "Run 'aspire run' to start your AppHost.");
Templating\DotNetTemplateFactory.cs (4)
279interactionService.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld); 299interactionService.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseRedisCache_UsingRedisCache); 338interactionService.DisplayMessage(KnownEmojis.CheckMark, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.PromptForTFM_UsingForTesting, testFramework)); 492interactionService.DisplayMessage(KnownEmojis.Package, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.UsingProjectTemplatesVersion, templateInstallResult.TemplateVersion));
Utils\CliDownloader.cs (1)
79interactionService.DisplayMessage(KnownEmojis.CheckMark, "Validating downloaded file...");
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
1061public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) => _innerService.DisplayMessage(emoji, message, allowMarkup);