Implemented interface member:
method
DisplayMessage
Aspire.Cli.Interaction.IInteractionService.DisplayMessage(Aspire.Cli.Interaction.KnownEmoji, System.String, System.Boolean)
8 references to DisplayMessage
aspire (4)
Interaction\ConsoleInteractionService.cs (3)
231
DisplayMessage
(KnownEmojis.CrossMark, $"[red bold]{errorMessage.EscapeMarkup()}[/]", allowMarkup: true);
284
DisplayMessage
(KnownEmojis.CheckMark, message, allowMarkup);
310
DisplayMessage
(KnownEmojis.StopSign, $"[teal bold]{InteractionServiceStrings.StoppingAspire}[/]", allowMarkup: true);
Interaction\ExtensionInteractionService.cs (1)
250
_consoleInteractionService.
DisplayMessage
(emoji, message, allowMarkup);
Aspire.Cli.Tests (4)
Interaction\ConsoleInteractionServiceTests.cs (4)
406
var exception = Record.Exception(() => interactionService.
DisplayMessage
(KnownEmojis.PageFacingUp, message));
491
var exception = Record.Exception(() => interactionService.
DisplayMessage
(KnownEmojis.PageFacingUp, $"See logs at {path}"));
518
var exception = Record.Exception(() => interactionService.
DisplayMessage
(KnownEmojis.FileFolder, message, allowMarkup: true));
546
var exception = Record.Exception(() => interactionService.
DisplayMessage
(KnownEmojis.FileFolder, message, allowMarkup: true));