DelegateScorable 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[System.Serializable]
public sealed class DelegateScorable : Microsoft.Bot.Builder.Scorables.Internals.MethodScorableBase
[<System.Serializable>]
type DelegateScorable = class
inherit MethodScorableBase
Public NotInheritable Class DelegateScorable
Inherits MethodScorableBase
- 繼承
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| DelegateScorable(Delegate) | |
屬性
| 名稱 | Description |
|---|---|
| Method | |
方法
明確介面實作
擴充方法
| 名稱 | 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>) | |