9 implementations of DisplayMessage
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
300public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false)
Interaction\ExtensionInteractionService.cs (1)
313public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false)
Aspire.Cli.Tests (7)
Commands\NewCommandTests.cs (1)
1575public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) { }
Commands\PublishCommandPromptingIntegrationTests.cs (1)
953public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) { }
Commands\UpdateCommandTests.cs (1)
1059public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) => _innerService.DisplayMessage(emoji, message, allowMarkup);
Projects\ExtensionGuestLauncherTests.cs (1)
167public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (1)
483public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) { }
TestServices\TestExtensionInteractionService.cs (1)
83public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false)
TestServices\TestInteractionService.cs (1)
149public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false)
94 references to DisplayMessage
aspire (93)
Backchannel\AppHostConnectionResolver.cs (1)
178interactionService.DisplayMessage(KnownEmojis.Information, contextMessage);
Certificates\CertificateService.cs (2)
84interactionService.DisplayMessage(KnownEmojis.Warning, CertificatesCommandStrings.TrustCancelled); 88interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificatesMayNotBeFullyTrusted, trustResultCode));
Commands\AddCommand.cs (1)
229InteractionService.DisplayMessage(KnownEmojis.Information, AddCommandStrings.StoppedRunningInstance);
Commands\AgentInitCommand.cs (4)
162_interactionService.DisplayMessage(KnownEmojis.Wrench, update.Description); 206_interactionService.DisplayMessage(KnownEmojis.CheckMark, skill.Description); 226_interactionService.DisplayMessage(KnownEmojis.CheckMark, mcp.Description); 273_interactionService.DisplayMessage(KnownEmojis.Warning, AgentCommandStrings.ConfigurationCompletedWithErrors);
Commands\AppHostLauncher.cs (2)
127interactionService.DisplayMessage( 314interactionService.DisplayMessage(KnownEmojis.MagnifyingGlassTiltedRight, string.Format(
Commands\CacheCommand.cs (1)
153InteractionService.DisplayMessage(KnownEmojis.Information, CacheCommandStrings.CacheAlreadyEmpty);
Commands\CertificatesCleanCommand.cs (2)
32InteractionService.DisplayMessage(KnownEmojis.Information, CertificatesCommandStrings.CleanProgress); 44InteractionService.DisplayMessage(KnownEmojis.Warning, CertificatesCommandStrings.CleanCancelled);
Commands\CertificatesTrustCommand.cs (2)
33InteractionService.DisplayMessage(KnownEmojis.Information, CertificatesCommandStrings.TrustProgress); 45InteractionService.DisplayMessage(KnownEmojis.Warning, CertificatesCommandStrings.TrustCancelled);
Commands\ConfigCommand.cs (1)
245InteractionService.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\ExportCommand.cs (4)
88_interactionService.DisplayMessage(KnownEmojis.Information, connectionResult.ErrorMessage); 100_interactionService.DisplayMessage(KnownEmojis.Warning, ExportCommandStrings.DashboardNotAvailable); 147_interactionService.DisplayMessage(KnownEmojis.Information, ExportCommandStrings.NoResourcesFound); 194_interactionService.DisplayMessage(KnownEmojis.CheckMark, string.Format(CultureInfo.CurrentCulture, ExportCommandStrings.ExportComplete, fullPath));
Commands\InitCommand.cs (8)
149InteractionService.DisplayMessage(KnownEmojis.Information, $"Creating {languageInfo.DisplayName} AppHost..."); 172InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.SolutionDetected, initContext.SelectedSolutionFile.Name)); 180InteractionService.DisplayMessage(KnownEmojis.Information, InitCommandStrings.NoSolutionFoundCreatingSingleFileAppHost); 246InteractionService.DisplayMessage(KnownEmojis.CheckMark, InitCommandStrings.SolutionAlreadyInitialized); 278InteractionService.DisplayMessage(KnownEmojis.Information, "The following projects will be added to the AppHost:"); 283InteractionService.DisplayMessage(KnownEmojis.CheckBoxWithCheck, project.ProjectFile.Name); 583InteractionService.DisplayMessage(KnownEmojis.CheckMark, $"{appHostFileName} already exists in this directory."); 597InteractionService.DisplayMessage(KnownEmojis.Information, $"Run 'aspire run' to start your AppHost.");
Commands\LogsCommand.cs (2)
158_interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage); 184_interactionService.DisplayMessage(KnownEmojis.Information, LogsCommandStrings.NoResourcesFound);
Commands\McpToolsCommand.cs (2)
65_interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage); 75_interactionService.DisplayMessage(KnownEmojis.Information, "No resources with MCP tools found.");
Commands\PipelineCommandBase.cs (1)
220InteractionService.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 (4)
207InteractionService.DisplayMessage(KnownEmojis.Warning, RunCommandStrings.IsolatedModeRunningInstanceWarning); 251InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 394InteractionService.DisplayMessage(KnownEmojis.PageFacingUp, string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath)); 409InteractionService.DisplayMessage(KnownEmojis.PageFacingUp, string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath));
Commands\Sdk\SdkDumpCommand.cs (1)
161InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\Sdk\SdkGenerateCommand.cs (1)
155InteractionService.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)
137_interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage); 189_interactionService.DisplayMessage(KnownEmojis.Package, $"Found running AppHost: {displayPath}"); 194_interactionService.DisplayMessage(KnownEmojis.StopSign, "Sending stop signal...");
Commands\TelemetryCommandHelpers.cs (1)
119interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage);
Commands\UpdateCommand.cs (7)
120InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 298InteractionService.DisplayMessage(KnownEmojis.Package, $"Current CLI location: {currentExePath}"); 299InteractionService.DisplayMessage(KnownEmojis.UpButton, $"Updating to channel: {channel}"); 368InteractionService.DisplayMessage(KnownEmojis.Package, UpdateCommandStrings.ExtractedNewCli); 382InteractionService.DisplayMessage(KnownEmojis.FloppyDisk, "Backing up current CLI..."); 395InteractionService.DisplayMessage(KnownEmojis.Wrench, $"Installing new CLI to {installDir}..."); 422InteractionService.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)
539_interactionService.DisplayMessage(KnownEmojis.Key, $"Initializing user secrets for {projectFile.Name}..."); 602_interactionService.DisplayMessage(KnownEmojis.Key, RunCommandStrings.CopyingUserSecrets);
Projects\GuestAppHostProject.cs (4)
1090_interactionService.DisplayMessage(KnownEmojis.CheckMark, UpdateCommandStrings.ProjectUpToDateMessage); 1098_interactionService.DisplayMessage(KnownEmojis.Package, $"[bold yellow]Aspire SDK[/] [bold green]{config.SdkVersion.EscapeMarkup()}[/] to [bold green]{newSdkVersion.EscapeMarkup()}[/]", allowMarkup: true); 1102_interactionService.DisplayMessage(KnownEmojis.Package, $"[bold yellow]{packageId.EscapeMarkup()}[/] [bold green]{currentVersion.EscapeMarkup()}[/] to [bold green]{newVersion.EscapeMarkup()}[/]", allowMarkup: true); 1149_interactionService.DisplayMessage(KnownEmojis.Package, UpdateCommandStrings.RegeneratedSdkCode);
Projects\LanguageService.cs (1)
138_interactionService.DisplayMessage(KnownEmojis.CheckMark, $"Language preference saved to local configuration: {selectedProject.DisplayName}");
Projects\ProjectLocator.cs (6)
65interactionService.DisplayMessage(KnownEmojis.MagnifyingGlassTiltedLeft, InteractionServiceStrings.FindingAppHosts); 135interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, relativePath)); 142interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, relativePath)); 206interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, configFilePath, qualifiedPath)); 236interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, settingsFile.FullName, qualifiedAppHostPath)); 437interactionService.DisplayMessage(KnownEmojis.FileCabinet, string.Format(CultureInfo.CurrentCulture, message, $"[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.cs (2)
229_interactionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.RunCdThenAspireRun, relativePath)); 233_interactionService.DisplayMessage(KnownEmojis.Information, TemplatingStrings.RunAspireRun);
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
135_interactionService.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
Templating\DotNetTemplateFactory.cs (4)
337interactionService.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld); 357interactionService.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseRedisCache_UsingRedisCache); 396interactionService.DisplayMessage(KnownEmojis.CheckMark, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.PromptForTFM_UsingForTesting, testFramework)); 550interactionService.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)
1059public void DisplayMessage(KnownEmoji emoji, string message, bool allowMarkup = false) => _innerService.DisplayMessage(emoji, message, allowMarkup);