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