ChoiceOptionsSet class

设置 ChoiceFactoryOptions。

构造函数

ChoiceOptionsSet(any)

初始化 ChoiceOptionsSet 类的新实例。

属性

includeNumbers
inlineOr
inlineOrMore
inlineSeparator

方法

bind(DialogContext, any)

将数据绑定到模板。

构造函数详细信息

ChoiceOptionsSet(any)

初始化 ChoiceOptionsSet 类的新实例。

new ChoiceOptionsSet(obj: any)

参数

obj

any

选择值。

属性详细信息

includeNumbers

includeNumbers?: boolean

属性值

boolean

inlineOr

inlineOr?: string

属性值

string

inlineOrMore

inlineOrMore?: string

属性值

string

inlineSeparator

inlineSeparator?: string

属性值

string

方法详细信息

bind(DialogContext, any)

将数据绑定到模板。

function bind(dialogContext: DialogContext, data?: any): Promise<ChoiceFactoryOptions>

参数

dialogContext

DialogContext

DialogContext

data

any

要绑定到的数据。

返回

Promise<ChoiceFactoryOptions>

数据绑定的 ChoiceFactoryOptions。