共用方式為


Actions.WhereScorable<Score> 類別

定義

[System.Serializable]
public sealed class Actions.WhereScorable<Score> : Microsoft.Bot.Builder.Scorables.Internals.ScorableAggregator<Microsoft.Bot.Builder.Scorables.Internals.IResolver,Microsoft.Bot.Builder.Scorables.Actions.WhereScorable<Score>.Token,Score,Microsoft.Bot.Builder.Scorables.Internals.IResolver,object,Score>
[<System.Serializable>]
type Actions.WhereScorable<'Score> = class
    inherit ScorableAggregator<IResolver, Actions.WhereScorable<'Score>.Token, 'Score, IResolver, obj, 'Score>
Public NotInheritable Class Actions.WhereScorable(Of Score)
Inherits ScorableAggregator(Of IResolver, Actions.WhereScorable(Of Score).Token, Score, IResolver, Object, Score)

類型參數

Score
繼承
ScorableBase<OuterItem,OuterState,OuterScore>
Actions.WhereScorable<Score>
屬性

建構函式

Actions.WhereScorable<Score>(IScorable<IResolver,Score>, Delegate)

方法

DoneAsync(OuterItem, OuterState, CancellationToken) (繼承來源 ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
GetScore(Item, State) (繼承來源 ScorableBase<Item,State,Score>)
HasScore(OuterItem, OuterState) (繼承來源 ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PostAsync(OuterItem, OuterState, CancellationToken) (繼承來源 ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PrepareAsync(Item, CancellationToken) (繼承來源 ScorableBase<Item,State,Score>)

明確介面實作

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>)

適用於