共用方式為


SelectItemScorable<OuterItem,InnerItem,Score> 類別

定義

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

類型參數

OuterItem
InnerItem
Score
繼承
ScorableBase<OuterItem,OuterState,OuterScore>
ScorableAggregator<OuterItem,Token<InnerItem,Score>,Score,InnerItem,Object,Score>
SelectItemScorable<OuterItem,InnerItem,Score>
屬性

建構函式

SelectItemScorable<OuterItem,InnerItem,Score>(IScorable<InnerItem,Score>, Func<OuterItem,InnerItem>)

方法

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

適用於