ShowChoices<T>(TextPrompt<T>, bool) Method
Show or hide choices.
public static TextPrompt<T> ShowChoices<T>(this TextPrompt<T> obj, bool show)
- Namespace
- Spectre
.Console - Containing Type
- TextPromptExtensions
Parameters
-
T
- The prompt result type.
Parameters
-
TextPrompt
<T> obj - The prompt.
- bool show
- Whether or not choices should be visible.