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