Freigeben über


FirstScorable<Item,Score> Klasse

Definition

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

Typparameter

Item
Score
Vererbung

Konstruktoren

FirstScorable<Item,Score>(IEnumerable<IScorable<Item,Score>>)

Felder

comparer (Geerbt von FoldScorable<Item,Score>)
scorables (Geerbt von FoldScorable<Item,Score>)

Eigenschaften

OnStage (Geerbt von DelegatingFoldScorable<Item,Score>)

Methoden

DoneAsync(Item, IReadOnlyList<FoldScorable<Item,Score>.State>, CancellationToken) (Geerbt von FoldScorable<Item,Score>)
DoneAsync(Item, State, CancellationToken) (Geerbt von ScorableBase<Item,State,Score>)
GetScore(Item, IReadOnlyList<FoldScorable<Item,Score>.State>) (Geerbt von FoldScorable<Item,Score>)
GetScore(Item, State) (Geerbt von ScorableBase<Item,State,Score>)
HasScore(Item, IReadOnlyList<FoldScorable<Item,Score>.State>) (Geerbt von FoldScorable<Item,Score>)
HasScore(Item, State) (Geerbt von ScorableBase<Item,State,Score>)
OnStageHandler(FoldStage, IScorable<Item,Score>, Item, Object, Score)
PostAsync(Item, IReadOnlyList<FoldScorable<Item,Score>.State>, CancellationToken) (Geerbt von FoldScorable<Item,Score>)
PostAsync(Item, State, CancellationToken) (Geerbt von ScorableBase<Item,State,Score>)
PrepareAsync(Item, CancellationToken) (Geerbt von FoldScorable<Item,Score>)

Explizite Schnittstellenimplementierungen

IScorable<Item,Score>.DoneAsync(Item, Object, CancellationToken) (Geerbt von ScorableBase<Item,State,Score>)
IScorable<Item,Score>.GetScore(Item, Object) (Geerbt von ScorableBase<Item,State,Score>)
IScorable<Item,Score>.HasScore(Item, Object) (Geerbt von ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PostAsync(Item, Object, CancellationToken) (Geerbt von ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PrepareAsync(Item, CancellationToken) (Geerbt von ScorableBase<Item,State,Score>)

Erweiterungsmethoden

SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>)

Projizieren Sie das Element eines Scorables mithilfe eines Lambdaausdrucks.

SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>)

Projizieren Sie die Bewertung eines Bewertbaren mithilfe eines Lambdaausdrucks.

TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken)

Rufen Sie das scorable-Aufrufprotokoll für ein einzelnes Scorable auf.

WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>)

Gilt für: