InvalidChoiceMessage(ConfirmationPrompt, string) Method
Sets the "invalid choice" message for the prompt.
public static ConfirmationPrompt InvalidChoiceMessage(this ConfirmationPrompt obj, string message)
- Namespace
- Spectre
.Console - Containing Type
- Confirmation
Prompt Extensions
Parameters
- ConfirmationPrompt obj
- The prompt.
- string message
- The "invalid choice" message.