Jaa


DelegatingFoldScorable<Item,Score> Class

Definition

This scorable delegates the stage event handler to an external delegate or an overridable virtual method.

public class DelegatingFoldScorable<Item,Score> : Microsoft.Bot.Builder.Scorables.Internals.FoldScorable<Item,Score>
type DelegatingFoldScorable<'Item, 'Score> = class
    inherit FoldScorable<'Item, 'Score>
Public Class DelegatingFoldScorable(Of Item, Score)
Inherits FoldScorable(Of Item, Score)

Type Parameters

Item
Score
Inheritance
ScorableBase<Item,IReadOnlyList<FoldScorable<Item,Score>.State>,Score>
DelegatingFoldScorable<Item,Score>
Derived

Constructors

DelegatingFoldScorable<Item,Score>(FoldScorable<Item,Score>.OnStageDelegate, IComparer<Score>, IEnumerable<IScorable<Item,Score>>)

Fields

comparer (Inherited from FoldScorable<Item,Score>)
scorables (Inherited from FoldScorable<Item,Score>)

Properties

OnStage

Methods

DoneAsync(Item, IReadOnlyList<FoldScorable<Item,Score>.State>, CancellationToken) (Inherited from FoldScorable<Item,Score>)
DoneAsync(Item, State, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
GetScore(Item, IReadOnlyList<FoldScorable<Item,Score>.State>) (Inherited from FoldScorable<Item,Score>)
GetScore(Item, State) (Inherited from ScorableBase<Item,State,Score>)
HasScore(Item, IReadOnlyList<FoldScorable<Item,Score>.State>) (Inherited from FoldScorable<Item,Score>)
HasScore(Item, State) (Inherited from ScorableBase<Item,State,Score>)
OnStageHandler(FoldStage, IScorable<Item,Score>, Item, Object, Score)
PostAsync(Item, IReadOnlyList<FoldScorable<Item,Score>.State>, CancellationToken) (Inherited from FoldScorable<Item,Score>)
PostAsync(Item, State, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
PrepareAsync(Item, CancellationToken) (Inherited from FoldScorable<Item,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