Udostępnij za pośrednictwem


TraitsScorable<Item,Score> Klasa

Definicja

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)

Parametry typu

Item
Score
Dziedziczenie

Konstruktory

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

Pola

comparer (Odziedziczone po FoldScorable<Item,Score>)
scorables (Odziedziczone po FoldScorable<Item,Score>)

Właściwości

OnStage (Odziedziczone po DelegatingFoldScorable<Item,Score>)

Metody

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

Jawne implementacje interfejsu

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

Metody rozszerzania

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

Projektuj element obiektu scorable przy użyciu wyrażenia lambda.

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

Projektuj wynik obiektu scorable przy użyciu wyrażenia lambda.

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

Wywołaj protokół wywołujący scorable względem pojedynczego scorable.

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

Dotyczy