AddChoiceGroup<T>(MultiSelectionPrompt<T>, T, T[]) Method

Adds multiple grouped choices.
public static MultiSelectionPrompt<T> AddChoiceGroup<T>(this MultiSelectionPrompt<T> obj, T group, params T[] choices) 
    where T : notnull

Parameters

T
The prompt result type.

Parameters

MultiSelectionPrompt<T> obj
The prompt.
T group
The group.
T[] choices
The choices to add.

Returns