Implemented interface member:
method
DisplayError
Aspire.Cli.Interaction.IInteractionService.DisplayError(System.String, System.Boolean)
13 references to DisplayError
aspire (8)
Interaction\ConsoleInteractionService.cs (5)
553
DisplayError
(errorMessage);
705
DisplayError
(linesArray[0].Line);
897
DisplayError
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveOptionRequired, symbolDisplayName));
913
DisplayError
(result.Message ?? string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveInvalidValue, value, symbolDisplayName));
922
DisplayError
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveInvalidValue, value, symbolDisplayName));
Interaction\ExtensionInteractionService.cs (3)
413
_consoleInteractionService.
DisplayError
(errorMessage, allowMarkup);
424
_consoleInteractionService.
DisplayError
(errorMessage, allowMarkup);
722
_consoleInteractionService.
DisplayError
(ex.Message);
Aspire.Cli.Tests (5)
Interaction\ConsoleInteractionServiceTests.cs (5)
695
var exception = Record.Exception(() => interactionService.
DisplayError
(errorMessage));
1361
interactionService.
DisplayError
($"Build failed. Logs: {fileLinkMarkup}", allowMarkup: true);
1385
var exception = Record.Exception(() => interactionService.
DisplayError
(message));
1438
var exception = Record.Exception(() => interactionService.
DisplayError
(errorMessage));
1511
interactionService.
DisplayError
("Something went wrong");