Mode<T>(SelectionPrompt<T>, SelectionMode) Method
Sets the selection mode.
public static SelectionPrompt<T> Mode<T>(this SelectionPrompt<T> obj, SelectionMode mode)
where T : notnull
- Namespace
- Spectre
.Console - Containing Type
- Selection
Prompt Extensions
Parameters
-
T
- The prompt result type.
Parameters
-
SelectionPrompt
<T> obj - The prompt.
- SelectionMode mode
- The selection mode.