Jaa


ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore> Class

Definition

Aggregates some non-empty set of inner scorables to produce an outer scorable.

[System.Serializable]
public abstract class ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore> : Microsoft.Bot.Builder.Scorables.Internals.ScorableBase<OuterItem,OuterState,OuterScore> where OuterState : Token<InnerItem,InnerScore>
[<System.Serializable>]
type ScorableAggregator<'OuterItem, 'OuterState, 'OuterScore, 'InnerItem, 'InnerState, 'InnerScore (requires 'OuterState :> Token<'InnerItem, 'InnerScore>)> = class
    inherit ScorableBase<'OuterItem, 'OuterState, 'OuterScore (requires 'OuterState :> Token<'InnerItem, 'InnerScore>)>
Public MustInherit Class ScorableAggregator(Of OuterItem, OuterState, OuterScore, InnerItem, InnerState, InnerScore)
Inherits ScorableBase(Of OuterItem, OuterState, OuterScore)

Type Parameters

OuterItem
OuterState
OuterScore
InnerItem
InnerState
InnerScore
Inheritance
ScorableBase<OuterItem,OuterState,OuterScore>
ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>
Derived
Attributes

Constructors

ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>()

Methods

DoneAsync(OuterItem, OuterState, CancellationToken)
GetScore(Item, State) (Inherited from ScorableBase<Item,State,Score>)
HasScore(OuterItem, OuterState)
PostAsync(OuterItem, OuterState, CancellationToken)
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