Implemented interface member:
method
DisplayError
Aspire.Cli.Interaction.IInteractionService.DisplayError(System.String, System.Boolean)
12 references to DisplayError
aspire (7)
Interaction\ConsoleInteractionService.cs (5)
468
DisplayError
(errorMessage);
620
DisplayError
(linesArray[0].Line);
805
DisplayError
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveOptionRequired, symbolDisplayName));
821
DisplayError
(result.Message ?? string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveInvalidValue, value, symbolDisplayName));
830
DisplayError
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveInvalidValue, value, symbolDisplayName));
Interaction\ExtensionInteractionService.cs (2)
399
_consoleInteractionService.
DisplayError
(errorMessage, allowMarkup);
601
_consoleInteractionService.
DisplayError
(ex.Message);
Aspire.Cli.Tests (5)
Interaction\ConsoleInteractionServiceTests.cs (5)
76
var exception = Record.Exception(() => interactionService.
DisplayError
(errorMessage));
742
interactionService.
DisplayError
($"Build failed. Logs: {fileLinkMarkup}", allowMarkup: true);
766
var exception = Record.Exception(() => interactionService.
DisplayError
(message));
819
var exception = Record.Exception(() => interactionService.
DisplayError
(errorMessage));
852
interactionService.
DisplayError
("Something went wrong");