Share via


SelectItemScorable<OuterItem,InnerItem,Score> Class

Definition

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

Type Parameters

OuterItem
InnerItem
Score
Inheritance
ScorableBase<OuterItem,OuterState,OuterScore>
ScorableAggregator<OuterItem,Token<InnerItem,Score>,Score,InnerItem,Object,Score>
SelectItemScorable<OuterItem,InnerItem,Score>
Attributes

Constructors

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

Methods

DoneAsync(OuterItem, OuterState, CancellationToken) (Inherited from ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
GetScore(Item, State) (Inherited from ScorableBase<Item,State,Score>)
HasScore(OuterItem, OuterState) (Inherited from ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PostAsync(OuterItem, OuterState, CancellationToken) (Inherited from ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PrepareAsync(Item, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)

Explicit Interface Implementations

IScorable<Item,Score>.DoneAsync(Item, Object, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.GetScore(Item, Object) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.HasScore(Item, Object) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PostAsync(Item, Object, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PrepareAsync(Item, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)

Extension Methods

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

Project the item of a scorable using a lambda expression.

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

Project the score of a scorable using a lambda expression.

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

Invoke the scorable calling protocol against a single scorable.

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

Applies to