src/States/ChoiceState.cs
/// <summary>
///     REQUIRED. Adds a new {@link Choice} rule to the <see cref="ChoiceState" />. A <see cref="ChoiceState" /> must
///     contain at least one
///     choice rule.
/// </summary>
/// <param name="choiceBuilder">
///     Instance of <see cref="Choice.Builder" />. Note that the <see cref="Choice" />
///     object is not built until the <see cref="ChoiceState" /> is built so any modifications on the
///     state model will be reflected in this object.
/// </param>
/// <returns>This object for method chaining.</returns>
REQUIRED. Adds a new  Choice rule to the . A  must
contain at least one
choice rule.
REQUIRED . Adds a new Choice rule to the . A must contain at least one choice rule .
public Builder Choice(Choice.Builder choiceBuilder)
            {
                _choices.Add(choiceBuilder);
                return this;
            }
public Builder Choice ( Choice . Builder choiceBuilder ) { _choices . Add ( choiceBuilder ) ; return this ; }
REQUIRED.
REQUIRED .
This object for method chaining.
This object for method chaining .
choiceBuilder
Choice.Builder
Instance of . Note that the
object is not built until the  is built so any modifications on the
state model will be reflected in this object.
Instance of . Note that the object is not built until the is built so any modifications on the state model will be reflected in this object .