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