Share via


ResolverScorable<OuterState,OuterScore,InnerState,InnerScore> Class

Definition

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

Type Parameters

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

Constructors

ResolverScorable<OuterState,OuterScore,InnerState,InnerScore>(IScorable<IResolver,InnerScore>)

Fields

inner

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