ShowDefaultValue<T>(TextPrompt<T>, bool) Method
Show or hide the default value.
public static TextPrompt<T> ShowDefaultValue<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 the default value should be visible.