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