137 references to KnownEmojis
aspire (130)
Backchannel\AppHostConnectionResolver.cs (1)
178interactionService.DisplayMessage(KnownEmojis.Information, contextMessage);
Certificates\CertificateService.cs (4)
59emoji: KnownEmojis.LockedWithKey); 80emoji: KnownEmojis.LockedWithKey); 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)
128KnownEmojis.Bug, 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\DoctorCommand.cs (4)
179EnvironmentCheckStatus.Pass => (KnownEmojis.CheckMark, "green"), 180EnvironmentCheckStatus.Warning => (KnownEmojis.Warning, "yellow"), 181EnvironmentCheckStatus.Fail => (KnownEmojis.CrossMark, "red"), 182_ => (KnownEmojis.Information, "grey")
Commands\ExecCommand.cs (4)
191InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 199}, emoji: KnownEmojis.LinkedPaperclips); 218}, emoji: KnownEmojis.RunningShoe); 230}, emoji: KnownEmojis.LinkedPaperclips);
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)
147InteractionService.DisplayMessage(KnownEmojis.Information, $"Creating {languageInfo.DisplayName} AppHost..."); 170InteractionService.DisplayMessage(KnownEmojis.Information, string.Format(CultureInfo.CurrentCulture, InitCommandStrings.SolutionDetected, initContext.SelectedSolutionFile.Name)); 178InteractionService.DisplayMessage(KnownEmojis.Information, InitCommandStrings.NoSolutionFoundCreatingSingleFileAppHost); 244InteractionService.DisplayMessage(KnownEmojis.CheckMark, InitCommandStrings.SolutionAlreadyInitialized); 276InteractionService.DisplayMessage(KnownEmojis.Information, "The following projects will be added to the AppHost:"); 281InteractionService.DisplayMessage(KnownEmojis.CheckBoxWithCheck, project.ProjectFile.Name); 581InteractionService.DisplayMessage(KnownEmojis.CheckMark, $"{appHostFileName} already exists in this directory."); 595InteractionService.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 (2)
220InteractionService.DisplayMessage(KnownEmojis.Bug, InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 251}, emoji: KnownEmojis.HammerAndWrench);
Commands\PsCommand.cs (1)
122_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\RestoreCommand.cs (2)
100emoji: KnownEmojis.Gear); 120emoji: KnownEmojis.Gear);
Commands\RootCommand.cs (1)
170}, emoji: KnownEmojis.Bug);
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 (2)
130emoji: KnownEmojis.MagnifyingGlassTiltedRight); 161InteractionService.DisplayMessage(KnownEmojis.Wrench, line);
Commands\Sdk\SdkGenerateCommand.cs (2)
98emoji: KnownEmojis.Hammer); 155InteractionService.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)
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 (8)
116InteractionService.DisplayMessage(KnownEmojis.Information, UpdateCommandStrings.DotNetToolSelfUpdateMessage); 294InteractionService.DisplayMessage(KnownEmojis.Package, $"Current CLI location: {currentExePath}"); 295InteractionService.DisplayMessage(KnownEmojis.UpButton, $"Updating to channel: {channel}"); 362KnownEmojis.Package); 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.");
Diagnostics\FileLoggerProvider.cs (1)
103errorWriter.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)
297DisplayMessage(KnownEmojis.CrossMark, $"[red bold]{errorMessage.EscapeMarkup()}[/]", allowMarkup: true); 350DisplayMessage(KnownEmojis.CheckMark, message, allowMarkup); 386DisplayMessage(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)
539_interactionService.DisplayMessage(KnownEmojis.Key, $"Initializing user secrets for {projectFile.Name}..."); 602_interactionService.DisplayMessage(KnownEmojis.Key, RunCommandStrings.CopyingUserSecrets);
Projects\GuestAppHostProject.cs (5)
380}, emoji: KnownEmojis.Gear); 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)); 432interactionService.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})");
Scaffolding\ScaffoldingService.cs (2)
70emoji: KnownEmojis.Gear); 114emoji: KnownEmojis.Package);
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 (2)
90}, emoji: KnownEmojis.Rocket); 135_interactionService.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
91}, emoji: KnownEmojis.Rocket);
Templating\DotNetTemplateFactory.cs (6)
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)); 541}, emoji: KnownEmojis.Ice); 550interactionService.DisplayMessage(KnownEmojis.Package, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.UsingProjectTemplatesVersion, templateInstallResult.TemplateVersion)); 572}, 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)); 492var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.PageFacingUp, $"See logs at {path}")); 519var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.FileFolder, message, allowMarkup: true)); 547var exception = Record.Exception(() => interactionService.DisplayMessage(KnownEmojis.FileFolder, message, allowMarkup: true)); 710interactionService.ShowStatusAsync(statusText, () => Task.FromResult(0), emoji: KnownEmojis.Rocket)); 739interactionService.ShowStatus(statusText, () => { }, emoji: KnownEmojis.Package));
Interaction\KnownEmojisTests.cs (1)
15var fields = typeof(KnownEmojis)