ChoiceOptionsSet Class

Definition

Sets the ChoiceFactoryOptions.

public class ChoiceOptionsSet : Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions, Microsoft.Bot.Builder.Dialogs.ITemplate<Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions>
type ChoiceOptionsSet = class
    inherit ChoiceFactoryOptions
    interface ITemplate<ChoiceFactoryOptions>
Public Class ChoiceOptionsSet
Inherits ChoiceFactoryOptions
Implements ITemplate(Of ChoiceFactoryOptions)
Inheritance
ChoiceOptionsSet
Implements

Constructors

ChoiceOptionsSet()

Initializes a new instance of the ChoiceOptionsSet class.

ChoiceOptionsSet(Object)

Initializes a new instance of the ChoiceOptionsSet class.

Properties

IncludeNumbers

Gets or sets a value indicating whether an inline and list style choices will be prefixed with the index of the choice as in "1. choice". If false, the list style will use a bulleted list instead.The default value is true.

(Inherited from ChoiceFactoryOptions)
InlineOr

Gets or sets the separator inserted between the choices when their are only 2 choices. The default value is " or ". This is optional.

(Inherited from ChoiceFactoryOptions)
InlineOrMore

Gets or sets the separator inserted between the last 2 choices when their are more than 2 choices. The default value is ", or ". This is optional.

(Inherited from ChoiceFactoryOptions)
InlineSeparator

Gets or sets the character used to separate individual choices when there are more than 2 choices. The default value is ", ". This is optional.

(Inherited from ChoiceFactoryOptions)

Methods

BindAsync(DialogContext, Object, CancellationToken)

Given the turn context bind to the data to create the object of type T.

Applies to