PageSize<T>(MultiSelectionPrompt<T>, int) Method
Sets how many choices that are displayed to the user.
public static MultiSelectionPrompt<T> PageSize<T>(this MultiSelectionPrompt<T> obj, int pageSize)
where T : notnull
- Namespace
- Spectre
.Console - Containing Type
- Multi
Selection Prompt Extensions
Parameters
-
T
- The prompt result type.
Parameters
-
MultiSelectionPrompt
<T> obj - The prompt.
- int pageSize
- The number of choices that are displayed to the user.