AddChoices<T>(MultiSelectionPrompt<T>, IEnumerable<T>) Method

Adds multiple choices.
public static MultiSelectionPrompt<T> AddChoices<T>(this MultiSelectionPrompt<T> obj, IEnumerable<T> choices) 
    where T : notnull

Parameters

T
The prompt result type.

Parameters

MultiSelectionPrompt<T> obj
The prompt.
IEnumerable<T> choices
The choices to add.

Returns