ChoiceOptionsSet Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 |
InlineOr |
Gets or sets the separator inserted between the choices when their are only 2 choices. The default
value is |
InlineOrMore |
Gets or sets the separator inserted between the last 2 choices when their are more than 2 choices.
The default value is |
InlineSeparator |
Gets or sets the character used to separate individual choices when there are more than 2 choices.
The default value is |
Methods
BindAsync(DialogContext, Object, CancellationToken) |
Given the turn context bind to the data to create the object of type T. |