Implemented interface member:
method
DisplayError
Aspire.Cli.Interaction.IInteractionService.DisplayError(System.String, System.Boolean)
13 references to DisplayError
aspire (8)
Interaction\ConsoleInteractionService.cs (5)
468
DisplayError
(errorMessage);
620
DisplayError
(linesArray[0].Line);
812
DisplayError
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveOptionRequired, symbolDisplayName));
828
DisplayError
(result.Message ?? string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveInvalidValue, value, symbolDisplayName));
837
DisplayError
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveInvalidValue, value, symbolDisplayName));
Interaction\ExtensionInteractionService.cs (3)
403
_consoleInteractionService.
DisplayError
(errorMessage, allowMarkup);
414
_consoleInteractionService.
DisplayError
(errorMessage, allowMarkup);
711
_consoleInteractionService.
DisplayError
(ex.Message);
Aspire.Cli.Tests (5)
Interaction\ConsoleInteractionServiceTests.cs (5)
120
var exception = Record.Exception(() => interactionService.
DisplayError
(errorMessage));
786
interactionService.
DisplayError
($"Build failed. Logs: {fileLinkMarkup}", allowMarkup: true);
810
var exception = Record.Exception(() => interactionService.
DisplayError
(message));
863
var exception = Record.Exception(() => interactionService.
DisplayError
(errorMessage));
896
interactionService.
DisplayError
("Something went wrong");