TraitsScorable<Item,Score> Class

Definition

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

Type Parameters

Item
Score
Inheritance

Constructors

TraitsScorable<Item,Score>(ITraits<Score>, IComparer<Score>, IEnumerable<IScorable<Item,Score>>)

Fields

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

Properties

OnStage (Inherited from DelegatingFoldScorable<Item,Score>)

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