src/States/ChoiceState.cs
/// <summary>
///     Adds the <see cref="Choice" /> rules to the <see cref="ChoiceState" />. A <see cref="ChoiceState" /> must contain
///     at least one
///     choice rule.
/// </summary>
/// <param name="choiceBuilders">
///     Instances 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>
Adds the  rules to the . A  must contain
at least one
choice rule.
Adds the rules to the . A must contain at least one choice rule .
public Builder Choices(params Choice.Builder[] choiceBuilders)
            {
                _choices.AddRange(choiceBuilders);
                return this;
            }
public Builder Choices ( params Choice . Builder [ ] choiceBuilders ) { _choices . AddRange ( choiceBuilders ) ; return this ; }
Adds the  rules to the .
Adds the rules to the .
This object for method chaining.
This object for method chaining .
choiceBuilders
Instances 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.
Instances 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 .