DialogRouter 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
可為對話模組路由評分。
public sealed class DialogRouter : Microsoft.Bot.Builder.Scorables.Internals.DelegatingScorable<Microsoft.Bot.Connector.IActivity,double>
type DialogRouter = class
inherit DelegatingScorable<IActivity, double>
Public NotInheritable Class DialogRouter
Inherits DelegatingScorable(Of IActivity, Double)
- 繼承
建構函式
欄位
| 名稱 | Description |
|---|---|
| inner |
可為對話模組路由評分。 (繼承來源 DelegatingScorable<Item,Score>) |
方法
擴充方法
| 名稱 | Description |
|---|---|
| SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>) |
Project 評分項目使用 lambda 表達式。 |
| SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>) |
Project 使用 lambda 運算式來預測可評分的分數。 |
| TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken) |
對單一可評分的呼叫協議執行可評分協議。 |
| WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>) |
可為對話模組路由評分。 |