ChoiceSet 類別

定義

定義 ChoiceSet 集合。

public class ChoiceSet : System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Choices.Choice>, Microsoft.Bot.Builder.Dialogs.ITemplate<Microsoft.Bot.Builder.Dialogs.Adaptive.Input.ChoiceSet>
type ChoiceSet = class
    inherit List<Choice>
    interface ITemplate<ChoiceSet>
Public Class ChoiceSet
Inherits List(Of Choice)
Implements ITemplate(Of ChoiceSet)
繼承
ChoiceSet
實作

建構函式

ChoiceSet()

初始化 ChoiceSet 類別的新執行個體。

ChoiceSet(IEnumerable<Choice>)

初始化 ChoiceSet 類別的新執行個體。

ChoiceSet(Object)

初始化 ChoiceSet 類別的新執行個體。

方法

BindAsync(DialogContext, Object, CancellationToken)

假設回合內容系結至資料,以建立 T 類型的物件。

運算子

Implicit(Boolean to ChoiceSet)

將 bool 轉換成 ChoiceSet

Implicit(JToken to ChoiceSet)

Newtonsoft.Json.Linq.JToken 轉換成 ChoiceSet

Implicit(String to ChoiceSet)

將字串轉換成 ChoiceSet

擴充方法

Dequeue<T>(List<T>)

移除佇列的第一個專案。

適用於