共用方式為


Chain.WithScorable<T,Item,Score> 方法

定義

使用可評分裝飾對話方塊,讓可評分專案可以參與對話堆疊。

public static Microsoft.Bot.Builder.Dialogs.IDialog<T> WithScorable<T,Item,Score> (this Microsoft.Bot.Builder.Dialogs.IDialog<T> antecedent, Microsoft.Bot.Builder.Scorables.IScorable<Item,Score> scorable);
static member WithScorable : Microsoft.Bot.Builder.Dialogs.IDialog<'T> * Microsoft.Bot.Builder.Scorables.IScorable<'Item, 'Score> -> Microsoft.Bot.Builder.Dialogs.IDialog<'T>
<Extension()>
Public Function WithScorable(Of T, Item, Score) (antecedent As IDialog(Of T), scorable As IScorable(Of Item, Score)) As IDialog(Of T)

類型參數

T

對話方塊的類型。

Item

可評分的專案類型。

Score

可評分所產生的範圍類型。

參數

antecedent
IDialog<T>

前項對話方塊。

scorable
IScorable<Item,Score>

可評分。

傳回

IDialog<T>

對話方塊會以可評分值來增強。

適用於