Prompt<T>(IPrompt<T>) Method
Displays a prompt to the user.
public static T Prompt<T>(IPrompt<T> prompt)
- Namespace
- Spectre
.Console - Containing Type
- AnsiConsole
Parameters
-
T
- The prompt result type.
Parameters
-
IPrompt
<T> prompt - The prompt to display.
Returns
- T