Partilhar via


TraitsScorable<Item,Score> Classe

Definição

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)

Parâmetros de Tipo Genérico

Item
Score
Herança

Construtores

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

Campos

comparer (Herdado de FoldScorable<Item,Score>)
scorables (Herdado de FoldScorable<Item,Score>)

Propriedades

OnStage (Herdado de DelegatingFoldScorable<Item,Score>)

Métodos

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

Implementações de Interface Explícita

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

Métodos da Extensão

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

Projecte o item de uma correção com uma expressão lambda.

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

Projecte a pontuação de um scorable com uma expressão lambda.

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

Invoque o protocolo de chamadas gravável num único scorável.

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

Aplica-se a