237 references to KnownEmojis
aspire (213)
Backchannel\AppHostConnectionResolver.cs (1)
329interactionService.DisplayMessage(KnownEmojis.Information, contextMessage);
Certificates\CertificateService.cs (6)
104interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificateGenerationFailed, generateResult)); 110interactionService.DisplayMessage(KnownEmojis.Warning, ErrorStrings.CertificatesPartiallyTrustedNonInteractive); 114interactionService.DisplayMessage(KnownEmojis.Warning, ErrorStrings.CertificatesNotTrustedNonInteractive); 135emoji: KnownEmojis.LockedWithKey); 139interactionService.DisplayMessage(KnownEmojis.Warning, CertificatesCommandStrings.TrustCancelled); 143interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.CertificatesMayNotBeFullyTrusted, trustResultCode));
Commands\AddCommand.cs (2)
352InteractionService.DisplayMessage(KnownEmojis.Package, Aspire.Cli.Resources.TemplatingStrings.NuGetConfigCreatedOrUpdatedConfirmationMessage); 380InteractionService.DisplayMessage(KnownEmojis.Information, AddCommandStrings.StoppedRunningInstance);
Commands\AgentInitCommand.cs (8)
198emoji: KnownEmojis.Robot); 213InteractionService.DisplayMessage(KnownEmojis.Wrench, update.Description); 376InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, AgentCommandStrings.InitCommand_InstalledPlaywrightCli); 379InteractionService.DisplayMessage(KnownEmojis.Warning, message!); 409InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, target.Description); 436InteractionService.DisplayMessage(KnownEmojis.Warning, AgentCommandStrings.ConfigurationCompletedWithErrors); 470KnownEmojis.BarChart, 726InteractionService.DisplayMessage(KnownEmojis.Robot, message);
Commands\AppHostConnectionResultHandler.cs (1)
32interactionService.DisplayMessage(KnownEmojis.Information, errorMessage);
Commands\AppHostLauncher.cs (2)
218KnownEmojis.Bug, 920interactionService.DisplayMessage(KnownEmojis.Information, $"{RunCommandStrings.RecentAppHostStartupOutput}:");
Commands\BaseCommand.cs (2)
232KnownEmojis.PageFacingUp, 242KnownEmojis.MagnifyingGlassTiltedLeft,
Commands\CacheCommand.cs (1)
56InteractionService.DisplayMessage(KnownEmojis.Information, CacheCommandStrings.CacheAlreadyEmpty);
Commands\CertificatesCleanCommand.cs (2)
27InteractionService.DisplayMessage(KnownEmojis.Information, CertificatesCommandStrings.CleanProgress); 39InteractionService.DisplayMessage(KnownEmojis.Warning, CertificatesCommandStrings.CleanCancelled);
Commands\CertificatesTrustCommand.cs (2)
29InteractionService.DisplayMessage(KnownEmojis.Information, CertificatesCommandStrings.TrustProgress); 37InteractionService.DisplayMessage(KnownEmojis.Warning, CertificatesCommandStrings.TrustPartialSuccess);
Commands\ConfigCommand.cs (1)
243InteractionService.DisplayMessage(KnownEmojis.Information, ConfigCommandStrings.NoConfigurationValuesFound);
Commands\DescribeCommand.cs (1)
336InteractionService.DisplayMessage(KnownEmojis.Information, "No resources found.");
Commands\DoctorCommand.cs (4)
215EnvironmentCheckStatus.Pass => (KnownEmojis.CheckMarkButton, "green"), 216EnvironmentCheckStatus.Warning => (KnownEmojis.Warning, "yellow"), 217EnvironmentCheckStatus.Fail => (KnownEmojis.CrossMark, "red"), 218_ => (KnownEmojis.Information, "grey")
Commands\ExportCommand.cs (3)
113InteractionService.DisplayMessage(KnownEmojis.Warning, ExportCommandStrings.DashboardNotAvailable); 175InteractionService.DisplayMessage(KnownEmojis.Information, ExportCommandStrings.NoResourcesFound); 227InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, ExportCommandStrings.ExportComplete, fullPath));
Commands\InitCommand.cs (14)
199KnownEmojis.Dizzy, 227KnownEmojis.Warning, 279InteractionService.DisplayMessage(KnownEmojis.Package, TemplatingStrings.NuGetConfigCreatedOrUpdatedConfirmationMessage); 285InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FileAlreadyExistsSkipping, "apphost.cs")); 308InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, "apphost.cs")); 381InteractionService.DisplayMessage(KnownEmojis.Package, TemplatingStrings.NuGetConfigCreatedOrUpdatedConfirmationMessage); 386InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FileAlreadyExistsSkipping, $"{appHostDirName}/")); 483InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, $"{appHostDirName}/")); 498InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FileAlreadyExistsSkipping, existingAppHostFileName)); 506InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FileAlreadyExistsSkipping, displayPath)); 535InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, displayPath)); 562InteractionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.FixOrRemoveConfigAndRerun, AspireConfigFile.FileName)); 656InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, AspireConfigFile.FileName)); 850InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.CreatedFile, fileName));
Commands\LogsCommand.cs (2)
195InteractionService.DisplayMessage(KnownEmojis.Information, LogsCommandStrings.NoResourcesFound); 282InteractionService.DisplayMessage(KnownEmojis.Information, LogsCommandStrings.NoLogsFound);
Commands\LsCommand.cs (1)
124InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.LsNoCandidateAppHostsFound);
Commands\McpToolsCommand.cs (1)
63InteractionService.DisplayMessage(KnownEmojis.Information, "No resources with MCP tools found.");
Commands\PipelineCommandBase.cs (2)
292InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 323}), emoji: KnownEmojis.HammerAndWrench);
Commands\PsCommand.cs (1)
140InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning);
Commands\RenderCommand.cs (16)
29/// All emojis defined in <see cref="KnownEmojis"/>, discovered via reflection. 31private static readonly KnownEmoji[] s_allEmojis = typeof(KnownEmojis) 237InteractionService.DisplayMessage(KnownEmojis.Rocket, "This is a much longer message that is designed to test how text wraps when the terminal window is narrow. It should wrap cleanly beneath the text column without pushing content under the emoji icon on the left side of the display."); 238InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, "Successfully deployed the application to the remote environment. The deployment included 14 services, 3 databases, and 2 message brokers. All health checks passed and the application is now accepting traffic on the configured endpoints."); 283emoji: KnownEmojis.Package, 298emoji: KnownEmojis.Package); 334InteractionService.DisplayMessage(KnownEmojis.Rocket, $"Deploying to {selected}..."); 340InteractionService.DisplayMessage(KnownEmojis.Rocket, "Starting mixed methods test..."); 345InteractionService.DisplayMessage(KnownEmojis.MagnifyingGlassTiltedLeft, "Searching for [packages]..."); 359emoji: KnownEmojis.Gear); 364emoji: KnownEmojis.Hammer); 373InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, $"You entered: {name}"); 390InteractionService.DisplayMessage(KnownEmojis.StopSign, "Mixed methods test complete."); 406InteractionService.DisplayMessage(KnownEmojis.Information, "This demo fires background log messages while a prompt is active."); 407InteractionService.DisplayMessage(KnownEmojis.Information, "Logs are buffered and flushed after the prompt completes."); 437InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, "Buffered log lines should appear above this message.");
Commands\ResourceCommandHelper.cs (2)
92interactionService.DisplayMessage(KnownEmojis.Warning, $"Command '{commandName}' on '{resourceName}' was canceled."); 135interactionService.DisplayMessage(KnownEmojis.Warning, $"{progressVerb} command for '{resourceName}' was canceled.");
Commands\RestoreCommand.cs (3)
101emoji: KnownEmojis.Gear); 138emoji: KnownEmojis.Gear); 158emoji: KnownEmojis.Gear);
Commands\RunCommand.cs (5)
345InteractionService.DisplayMessage(KnownEmojis.Warning, RunCommandStrings.IsolatedModeRunningInstanceWarning); 446InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 481InteractionService.DisplayMessage(KnownEmojis.Warning, RunCommandStrings.DashboardFailedToStart); 640InteractionService.DisplayMessage(KnownEmojis.Warning, "No longer receiving logs from AppHost."); 808interactionService.DisplayMessage(KnownEmojis.Information, $"{RunCommandStrings.RecentAppHostStartupOutput}:");
Commands\Sdk\SdkDumpCommand.cs (4)
161emoji: KnownEmojis.MagnifyingGlassTiltedLeft)); 197InteractionService.DisplayMessage(KnownEmojis.Wrench, line); 296InteractionService.DisplayMessage(KnownEmojis.Wrench, line); 322InteractionService.DisplayMessage(KnownEmojis.CrossMark, $"{failure.IntegrationName}: {failure.ErrorMessage}");
Commands\Sdk\SdkExportCommand.cs (1)
203InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\Sdk\SdkGenerateCommand.cs (2)
92emoji: KnownEmojis.Hammer)); 151InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\SecretListCommand.cs (1)
68InteractionService.DisplayMessage(KnownEmojis.Information, SecretCommandStrings.NoSecretsConfigured);
Commands\SetupCommand.cs (4)
74}, emoji: KnownEmojis.Package); 79InteractionService.DisplayMessage(KnownEmojis.Information, "This CLI binary does not contain an embedded bundle. No extraction needed."); 83InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, "Bundle is already extracted and up to date. Use --force to re-extract."); 87InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, $"Bundle extracted to {installPath}");
Commands\StopCommand.cs (10)
228InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning); 241InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning); 326InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.AppHostNotRunningAtPath, displayPath)); 361emoji: KnownEmojis.Gear).ConfigureAwait(false); 397InteractionService.DisplayMessage(KnownEmojis.Warning, StopCommandStrings.DcpCleanupCompatibilityCheckFailed); 403InteractionService.DisplayMessage(KnownEmojis.Warning, StopCommandStrings.DcpCleanupCompatibilityCheckFailed); 428InteractionService.DisplayMessage(KnownEmojis.Warning, string.Format( 476InteractionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning); 517InteractionService.DisplayMessage(KnownEmojis.Package, string.Format(CultureInfo.CurrentCulture, StopCommandStrings.FoundRunningAppHost, appHostIdentifier)); 520InteractionService.DisplayMessage(KnownEmojis.StopSign, string.Format(CultureInfo.CurrentCulture, StopCommandStrings.SendingStopSignal, appHostIdentifier));
Commands\TelemetryCommandHelpers.cs (1)
333interactionService.DisplayMessage(KnownEmojis.Information, hint);
Commands\TerminalAttachCommand.cs (3)
122_interactionService.DisplayMessage(KnownEmojis.Warning, 130_interactionService.DisplayMessage(KnownEmojis.Information, 173_interactionService.DisplayMessage(KnownEmojis.Information,
Commands\TerminalPsCommand.cs (2)
108_interactionService.DisplayMessage(KnownEmojis.Information, connectionResult.ErrorMessage); 136_interactionService.DisplayMessage(KnownEmojis.Information,
Commands\UpdateCommand.cs (21)
166InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 177InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.NpmSelfUpdateMessage); 427InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 435InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.NpmSelfUpdateMessage); 536InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.PendingMigrationsHeader); 552InteractionService.DisplayMessage(KnownEmojis.Gear, MigrationStrings.AvailableMigrationsHeader); 586InteractionService.DisplayMessage(KnownEmojis.Warning, UpdateCommandStrings.MigrationApplyFailedWarning); 630InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.ProjectUpdateSkippedAfterCliUpdateMessage); 647InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 649InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.ProjectUpdateSkippedAfterCliUpdateMessage); 656InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.NpmSelfUpdateMessage); 658InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.ProjectUpdateSkippedAfterCliUpdateMessage); 665InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.ProjectUpdateSkippedAfterCliUpdateMessage); 709InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.NixSelfUpdateMessage); 777InteractionService.DisplayMessage(KnownEmojis.Package, $"Current CLI location: {currentExePath}"); 778InteractionService.DisplayMessage(KnownEmojis.UpButton, $"Updating to channel: {channel}"); 832KnownEmojis.Package); 834InteractionService.DisplayMessage(KnownEmojis.Package, UpdateCommandStrings.ExtractedNewCli); 856InteractionService.DisplayMessage(KnownEmojis.FloppyDisk, "Backing up current CLI..."); 868InteractionService.DisplayMessage(KnownEmojis.Wrench, $"Installing new CLI to {installDir}..."); 892InteractionService.DisplayMessage(KnownEmojis.Information, $"Note: {installDir} is not in your PATH. Add it to use the updated CLI globally.");
Diagnostics\FileLoggerProvider.cs (1)
111errorWriter.WriteMarkup($"Could not create log file at [blue]{path.EscapeMarkup()}[/]: {message.EscapeMarkup()}", KnownEmojis.Warning);
Diagnostics\StartupErrorWriter.cs (2)
49WriteMarkup($"[red bold]{message.EscapeMarkup()}[/]", emoji ?? KnownEmojis.CrossMark); 66var prefix = ConsoleHelpers.FormatEmojiPrefix(KnownEmojis.PageFacingUp, _errorConsole);
Interaction\ConsoleInteractionService.cs (3)
499WriteEmojiMessage(_errorConsole, _stderrLogger, KnownEmojis.CrossMark, $"[red bold]{formatted}[/]", allowMarkup: true); 610DisplayMessage(KnownEmojis.CheckMarkButton, message, allowMarkup); 662DisplayMessage(KnownEmojis.StopSign, $"[teal bold]{message ?? InteractionServiceStrings.StoppingAspire}[/]", allowMarkup: true, consoleOverride: consoleOverride);
Interaction\ExtensionInteractionService.cs (2)
486KnownEmojis.PageFacingUp, 497KnownEmojis.MagnifyingGlassTiltedLeft,
Migrations\TypeScriptAppHostMigration.cs (4)
110emoji: KnownEmojis.Gear); 351emoji: KnownEmojis.Gear); 356KnownEmojis.Warning, 369KnownEmojis.Warning,
Packaging\NuGetConfigPrompter.cs (3)
58_interactionService.DisplayMessage(KnownEmojis.Package, TemplatingStrings.NuGetConfigCreatedConfirmationMessage); 71_interactionService.DisplayMessage(KnownEmojis.Package, TemplatingStrings.NuGetConfigUpdatedConfirmationMessage); 100_interactionService.DisplayMessage(KnownEmojis.Package, TemplatingStrings.NuGetConfigCreatedOrUpdatedConfirmationMessage);
Profiling\ProfileCaptureService.cs (1)
349KnownEmojis.CheckMarkButton,
Program.cs (3)
219errorWriter.WriteMarkup(warning.EscapeMarkup(), KnownEmojis.Warning); 911interactionService.DisplayMessage(KnownEmojis.Warning, $"[yellow]{notice.EscapeMarkup()}[/]", allowMarkup: true, consoleOverride: ConsoleOutput.Error); 1365waitAction, emoji: KnownEmojis.Bug);
Projects\DotNetAppHostProject.cs (2)
2560_interactionService.DisplayMessage(KnownEmojis.Key, $"Initializing user secrets for {projectFile.Name}..."); 2722_interactionService.DisplayMessage(KnownEmojis.Key, RunCommandStrings.CopyingUserSecrets);
Projects\GuestAppHostProject.cs (13)
444}, emoji: KnownEmojis.Gear); 1536_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, UpdateCommandStrings.ProjectUpToDateMessage); 1544_interactionService.DisplayMessage(KnownEmojis.Package, $"[bold yellow]Aspire SDK[/] [bold green]{config.SdkVersion.EscapeMarkup()}[/] to [bold green]{newSdkVersion.EscapeMarkup()}[/]", allowMarkup: true); 1548_interactionService.DisplayMessage(KnownEmojis.Package, $"[bold yellow]{packageId.EscapeMarkup()}[/] [bold green]{currentVersion.EscapeMarkup()}[/] to [bold green]{newVersion.EscapeMarkup()}[/]", allowMarkup: true); 1552_interactionService.DisplayMessage(KnownEmojis.Package, step.GetFormattedDisplayText(), allowMarkup: true); 1617_interactionService.DisplayMessage(KnownEmojis.Package, UpdateCommandStrings.RegeneratedSdkCode); 1706KnownEmojis.Warning, 1842_interactionService.DisplayMessage(KnownEmojis.Warning, $"[yellow]{Markup.Escape(message)}[/]", allowMarkup: true); 1902_interactionService.DisplayMessage(KnownEmojis.Information, $"[grey]{Markup.Escape(hint!)}[/]", allowMarkup: true); 1920_interactionService.DisplayMessage(KnownEmojis.Information, $"[grey]{Markup.Escape(ErrorStrings.CodegenDebugHint)}[/]", allowMarkup: true); 1924_interactionService.DisplayMessage(KnownEmojis.Microscope, $"[grey]{Markup.Escape(ErrorStrings.CodegenDebugHeader)}[/]", allowMarkup: true); 2187_interactionService.DisplayMessage(KnownEmojis.Warning, MissingJavaScriptToolWarning.GetMessage(directory, _resolvedLanguage, _environment)); 2332KnownEmojis.Warning,
Projects\LanguageService.cs (1)
149_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, $"Language preference saved to local configuration: {selectedProject.DisplayName}");
Projects\ProjectLocator.cs (8)
414interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, relativePath)); 428interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, relativePath)); 509interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, relativePath)); 534interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, settingsAppHostRelativePath)); 545interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, settingsAppHostRelativePath)); 728interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, configFilePath, qualifiedPath)); 788interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, settingsFile.FullName, qualifiedAppHostPath)); 1311interactionService.DisplayMessage(KnownEmojis.FloppyDisk, string.Format(CultureInfo.CurrentCulture, message, $"[bold]'{relativeSettingsFilePath.EscapeMarkup()}'[/]"), allowMarkup: true);
Projects\ProjectUpdater.cs (5)
44interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, UpdateCommandStrings.ProjectUpToDateMessage); 62interactionService.DisplayMessage(KnownEmojis.FileFolder, $"[bold cyan]{projectName.EscapeMarkup()}[/]:", allowMarkup: true); 67interactionService.DisplayMessage(KnownEmojis.Package, packageStep.GetFormattedDisplayText(), allowMarkup: true); 76interactionService.DisplayMessage(KnownEmojis.Package, updateStep.GetFormattedDisplayText(), allowMarkup: true); 83interactionService.DisplayMessage(KnownEmojis.Warning, $"[yellow]{UpdateCommandStrings.FallbackParsingWarning}[/]", allowMarkup: true);
Projects\RepositoryToolUpdater.cs (5)
94interactionService.DisplayMessage(KnownEmojis.Package, updateStep.GetFormattedDisplayText(), allowMarkup: true); 123interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, 145interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, UpdateCommandStrings.RepositoryToolsUpToDate); 165interactionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.RestoreRepositoryDotNetTool); 169interactionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.RestoreRepositoryNpmTool);
Projects\RunningInstanceManager.cs (1)
66_interactionService.DisplayMessage(KnownEmojis.StopSign, $"Stopping previous instance (AppHost PID: {appHostInfo.ProcessId.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})");
Scaffolding\ScaffoldingService.cs (4)
141emoji: KnownEmojis.Gear); 234emoji: KnownEmojis.Package); 317KnownEmojis.Warning, 464KnownEmojis.Warning,
Templating\CliTemplateFactory.cs (2)
390_interactionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.RunCdThenAspireRun, relativePath)); 394_interactionService.DisplayMessage(KnownEmojis.Information, TemplatingStrings.RunAspireRun);
Templating\CliTemplateFactory.EmptyTemplate.cs (2)
107}), emoji: KnownEmojis.Rocket); 142_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
Templating\CliTemplateFactory.GoStarterTemplate.cs (1)
94}), emoji: KnownEmojis.Rocket);
Templating\CliTemplateFactory.JavaStarterTemplate.cs (1)
94}), emoji: KnownEmojis.Rocket);
Templating\CliTemplateFactory.PythonStarterTemplate.cs (2)
108}), emoji: KnownEmojis.Rocket); 138_interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseRedisCache_UsingRedisCache);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
92}), emoji: KnownEmojis.Rocket);
Templating\DotNetTemplateFactory.cs (6)
298interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld); 314interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, TemplatingStrings.UseRedisCache_UsingRedisCache); 356interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.PromptForTFM_UsingForTesting, testFramework)); 481statusEmoji: KnownEmojis.Ice, 491interactionService.DisplayMessage(KnownEmojis.Package, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.UsingProjectTemplatesVersion, installOutcome.TemplateVersion)); 513}, emoji: KnownEmojis.Rocket);
Utils\AppHostHelper.cs (2)
82emoji: KnownEmojis.Microscope); 98emoji: KnownEmojis.HammerAndWrench);
Utils\CliDownloader.cs (1)
79interactionService.DisplayMessage(KnownEmojis.CheckMarkButton, "Validating downloaded file...");
Utils\ConsoleActivityLogger.cs (5)
295summaryParts.Add($"[green]{ConsoleHelpers.FormatEmojiPrefix(KnownEmojis.CheckMarkButton, _console, suppressColor: true)}{succeededSegment}[/]"); 301summaryParts.Add($"[yellow]{ConsoleHelpers.FormatEmojiPrefix(KnownEmojis.Warning, _console, suppressColor: true)}{warningText}[/]"); 305summaryParts.Add($"[red]{ConsoleHelpers.FormatEmojiPrefix(KnownEmojis.CrossMark, _console, suppressColor: true)}{string.Format(CultureInfo.CurrentCulture, ConsoleActivityLoggerStrings.SummaryFailed, failedSteps)}[/]"); 402? $"[green]{ConsoleHelpers.FormatEmojiPrefix(KnownEmojis.CheckMarkButton, _console, suppressColor: true)}{ConsoleActivityLoggerStrings.PipelineSucceeded}[/]" 408? $"[red]{ConsoleHelpers.FormatEmojiPrefix(KnownEmojis.CrossMark, _console, suppressColor: true)}{ConsoleActivityLoggerStrings.PipelineFailed}[/]"
Aspire.Cli.Tests (24)
Commands\AgentInitCommandTests.cs (5)
57displayedMessage => displayedMessage.Emoji.Equals(KnownEmojis.Robot) && displayedMessage.Message == expectedSummary); 91var message = Assert.Single(interactionService.DisplayedMessages, displayedMessage => displayedMessage.Emoji.Equals(KnownEmojis.Robot)); 472message => message.Emoji.Equals(KnownEmojis.Warning) && message.Message == installFailureMessage); 707message => message.Emoji.Equals(KnownEmojis.Warning) && message.Message == installFailureMessage); 742message => message.Emoji.Equals(KnownEmojis.Warning) && message.Message == installFailureMessage);
Commands\RunCommandTests.cs (1)
3180Assert.Equal(KnownEmojis.Warning, m.Emoji);
Commands\StopCommandTests.cs (3)
773message.Emoji.Equals(KnownEmojis.Warning) && 813message.Emoji.Equals(KnownEmojis.Warning) && 852message.Emoji.Equals(KnownEmojis.Warning) &&
Interaction\ConsoleInteractionServiceTests.cs (8)
732var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.PageFacingUp, message)); 759KnownEmojis.PageFacingUp, 924interactionService.DisplayMessage(KnownEmojis.Information, "Status update"); 948var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.PageFacingUp, $"See logs at {path}")); 974var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.FileFolder, message, allowMarkup: true)); 1001var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.FileFolder, message, allowMarkup: true)); 1163interactionService.ShowStatusAsync(statusText, () => Task.FromResult(0), emoji: KnownEmojis.Rocket)); 1192interactionService.ShowStatus(statusText, () => { }, emoji: KnownEmojis.Package));
Interaction\ExtensionInteractionServiceTests.cs (1)
52KnownEmojis.PageFacingUp,
Interaction\KnownEmojisTests.cs (1)
15var fields = typeof(KnownEmojis)
ProfileCaptureServiceTests.cs (1)
413Assert.Equal(KnownEmojis.CheckMarkButton, displayedMessage.Emoji);
Projects\ProjectLocatorTests.cs (2)
1308Assert.Equal(KnownEmojis.Warning, warning.Emoji); 3866Assert.Equal(KnownEmojis.Warning, warning.Emoji);
Projects\RepositoryToolUpdaterTests.cs (1)
587Assert.Equal(KnownEmojis.Warning, warning.Emoji);
Utils\EmojiWidthTests.cs (1)
19foreach (var f in typeof(KnownEmojis).GetFields(BindingFlags.Public | BindingFlags.Static))