InvalidChoiceMessage(ConfirmationPrompt, string) Method

Sets the "invalid choice" message for the prompt.
public static ConfirmationPrompt InvalidChoiceMessage(this ConfirmationPrompt obj, string message)
Namespace
Spectre.Console

Parameters

ConfirmationPrompt obj
The prompt.
string message
The "invalid choice" message.

Returns