WrapAround<T>(MultiSelectionPrompt<T>, bool) Method
Sets whether the selection should wrap around when reaching its edges.
public static MultiSelectionPrompt<T> WrapAround<T>(this MultiSelectionPrompt<T> obj, bool shouldWrap = true)
where T : notnull
- Namespace
- Spectre
.Console - Containing Type
- Multi
Selection Prompt Extensions
Parameters
-
T
- The prompt result type.
Parameters
-
MultiSelectionPrompt
<T> obj - The prompt.
- bool shouldWrap
- Whether the selection should wrap around.