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