ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Explicit Interface Implementations
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>) |