共用方式為


MethodScorableBase 類別

定義

[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)
繼承
衍生
屬性

建構函式

MethodScorableBase()

屬性

Method

方法

DoneAsync(IResolver, IBinding, CancellationToken)
DoneAsync(Item, State, CancellationToken) (繼承來源 ScorableBase<Item,State,Score>)
GetScore(IResolver, IBinding)
GetScore(Item, State) (繼承來源 ScorableBase<Item,State,Score>)
HasScore(IResolver, IBinding)
HasScore(Item, State) (繼承來源 ScorableBase<Item,State,Score>)
PostAsync(IResolver, IBinding, CancellationToken)
PostAsync(Item, State, CancellationToken) (繼承來源 ScorableBase<Item,State,Score>)
PrepareAsync(Item, CancellationToken) (繼承來源 ScorableBase<Item,State,Score>)
ToString()

明確介面實作

IScorable<Item,Score>.DoneAsync(Item, Object, CancellationToken) (繼承來源 ScorableBase<Item,State,Score>)
IScorable<Item,Score>.GetScore(Item, Object) (繼承來源 ScorableBase<Item,State,Score>)
IScorable<Item,Score>.HasScore(Item, Object) (繼承來源 ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PostAsync(Item, Object, CancellationToken) (繼承來源 ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PrepareAsync(Item, CancellationToken) (繼承來源 ScorableBase<Item,State,Score>)

擴充方法

SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>)

使用 Lambda 運算式投影可評分的專案。

SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>)

使用 Lambda 運算式來投影可評分的分數。

TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken)

針對單一可評分呼叫通訊協定叫用可評分的呼叫通訊協定。

WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>)

適用於