TextPrompt(string, StringComparer) Constructor
Initializes a new instance of the
TextPrompt<T>
class.
public TextPrompt(string prompt, StringComparer comparer = null)
- Namespace
- Spectre
.Console - Containing Type
- TextPrompt
<T>
Parameters
- string prompt
- The prompt markup text.
- StringComparer comparer
- The comparer used for choices.