AddChoices<T>(MultiSelectionPrompt<T>, T[]) Method
Adds multiple choices.
public static MultiSelectionPrompt<T> AddChoices<T>(this MultiSelectionPrompt<T> obj, params T[] choices)
where T : notnull
- Namespace
- Spectre
.Console - Containing Type
- Multi
Selection Prompt Extensions
Parameters
-
T
- The prompt result type.
Parameters
-
MultiSelectionPrompt
<T> obj - The prompt.
- T[] choices
- The choices to add.