Title<T>(SelectionPrompt<T>, string) Method
Sets the title.
public static SelectionPrompt<T> Title<T>(this SelectionPrompt<T> obj, string title)
where T : notnull
- Namespace
- Spectre
.Console - Containing Type
- Selection
Prompt Extensions
Parameters
-
T
- The prompt result type.
Parameters
-
SelectionPrompt
<T> obj - The prompt.
- string title
- The title markup text.