105 references to KnownEmojis
aspire (98)
Backchannel\AppHostConnectionResolver.cs (1)
178interactionService.DisplayMessage(KnownEmojis.Information, contextMessage);
Certificates\CertificateService.cs (3)
86emoji: KnownEmojis.LockedWithKey); 121emoji: KnownEmojis.LockedWithKey); 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)
164_interactionService.DisplayMessage(KnownEmojis.Warning, AgentCommandStrings.ConfigurationCompletedWithErrors);
Commands\AppHostLauncher.cs (1)
307interactionService.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)
130_interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage);
Commands\ExecCommand.cs (4)
195InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 203}, emoji: KnownEmojis.LinkedPaperclips); 222}, emoji: KnownEmojis.RunningShoe); 234}, emoji: KnownEmojis.LinkedPaperclips);
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)
156_interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage); 179_interactionService.DisplayMessage(KnownEmojis.Information, LogsCommandStrings.NoResourcesFound);
Commands\PipelineCommandBase.cs (2)
173InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 194}, emoji: KnownEmojis.HammerAndWrench);
Commands\PsCommand.cs (1)
100_interactionService.DisplayMessage(KnownEmojis.Information, SharedCommandStrings.AppHostNotRunning);
Commands\RenderCommand.cs (10)
21/// All emojis defined in <see cref="KnownEmojis"/>, discovered via reflection. 23private static readonly KnownEmoji[] s_allEmojis = typeof(KnownEmojis) 123emoji: KnownEmojis.Package, 138emoji: KnownEmojis.Package); 145InteractionService.DisplayMessage(KnownEmojis.Rocket, "Starting mixed methods test..."); 150InteractionService.DisplayMessage(KnownEmojis.MagnifyingGlassTiltedLeft, "Searching for [packages]..."); 164emoji: KnownEmojis.Gear); 169emoji: KnownEmojis.Hammer); 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\RootCommand.cs (1)
168}, emoji: KnownEmojis.Bug);
Commands\RunCommand.cs (3)
214InteractionService.DisplayMessage(KnownEmojis.Warning, RunCommandStrings.IsolatedModeRunningInstanceWarning); 371InteractionService.DisplayMessage(KnownEmojis.PageFacingUp, string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath)); 380InteractionService.DisplayMessage(KnownEmojis.PageFacingUp, string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath));
Commands\Sdk\SdkDumpCommand.cs (2)
110emoji: KnownEmojis.MagnifyingGlassTiltedRight); 157InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\Sdk\SdkGenerateCommand.cs (2)
98emoji: KnownEmojis.Hammer); 158InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\SecretListCommand.cs (1)
73InteractionService.DisplayMessage(KnownEmojis.Information, SecretCommandStrings.NoSecretsConfigured);
Commands\SetupCommand.cs (4)
79}, emoji: KnownEmojis.Package); 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)
118interactionService.DisplayMessage(KnownEmojis.Information, result.ErrorMessage);
Commands\UpdateCommand.cs (7)
116InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 292InteractionService.DisplayMessage(KnownEmojis.Package, $"Current CLI location: {currentExePath}"); 293InteractionService.DisplayMessage(KnownEmojis.UpButton, $"Updating to channel: {channel}"); 353InteractionService.DisplayMessage(KnownEmojis.Package, "Extracting new CLI..."); 368InteractionService.DisplayMessage(KnownEmojis.FloppyDisk, "Backing up current CLI..."); 381InteractionService.DisplayMessage(KnownEmojis.Wrench, $"Installing new CLI to {installDir}..."); 408InteractionService.DisplayMessage(KnownEmojis.Information, $"Note: {installDir} is not in your PATH. Add it to use the updated CLI globally.");
Interaction\ConsoleInteractionService.cs (3)
231DisplayMessage(KnownEmojis.CrossMark, $"[red bold]{errorMessage.EscapeMarkup()}[/]", allowMarkup: true); 284DisplayMessage(KnownEmojis.CheckMark, message, allowMarkup); 310DisplayMessage(KnownEmojis.StopSign, $"[teal bold]{InteractionServiceStrings.StoppingAspire}[/]", allowMarkup: true);
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)
312}, emoji: KnownEmojis.Gear); 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);
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)); 329interactionService.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})");
Scaffolding\ScaffoldingService.cs (2)
77emoji: KnownEmojis.Gear); 121emoji: KnownEmojis.Package);
Templating\CliTemplateFactory.EmptyTemplate.cs (2)
85_interactionService.DisplayMessage(KnownEmojis.Information, "Run 'aspire run' to start your AppHost."); 116_interactionService.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
82_interactionService.DisplayMessage(KnownEmojis.Information, "Run 'aspire run' to start your AppHost.");
Templating\DotNetTemplateFactory.cs (5)
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)); 514}, emoji: KnownEmojis.Rocket);
Utils\AppHostHelper.cs (2)
64emoji: KnownEmojis.Microscope); 79emoji: KnownEmojis.HammerAndWrench);
Utils\CliDownloader.cs (1)
79interactionService.DisplayMessage(KnownEmojis.CheckMark, "Validating downloaded file...");
Aspire.Cli.Tests (7)
Interaction\ConsoleInteractionServiceTests.cs (6)
406var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.PageFacingUp, message)); 491var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.PageFacingUp, $"See logs at {path}")); 518var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.FileFolder, message, allowMarkup: true)); 546var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.FileFolder, message, allowMarkup: true)); 709interactionService.ShowStatusAsync(statusText, () => Task.FromResult(0), emoji: KnownEmojis.Rocket)); 738interactionService.ShowStatus(statusText, () => { }, emoji: KnownEmojis.Package));
Interaction\KnownEmojisTests.cs (1)
15var fields = typeof(KnownEmojis)