Partilhar via


SelectItemScorable<OuterItem,InnerItem,Score> Classe

Definição

[System.Serializable]
public sealed class SelectItemScorable<OuterItem,InnerItem,Score> : Microsoft.Bot.Builder.Scorables.Internals.ScorableAggregator<OuterItem,Microsoft.Bot.Builder.Scorables.Internals.Token<InnerItem,Score>,Score,InnerItem,object,Score>
[<System.Serializable>]
type SelectItemScorable<'OuterItem, 'InnerItem, 'Score> = class
    inherit ScorableAggregator<'OuterItem, Token<'InnerItem, 'Score>, 'Score, 'InnerItem, obj, 'Score>
Public NotInheritable Class SelectItemScorable(Of OuterItem, InnerItem, Score)
Inherits ScorableAggregator(Of OuterItem, Token(Of InnerItem, Score), Score, InnerItem, Object, Score)

Parâmetros de Tipo Genérico

OuterItem
InnerItem
Score
Herança
ScorableBase<OuterItem,OuterState,OuterScore>
ScorableAggregator<OuterItem,Token<InnerItem,Score>,Score,InnerItem,Object,Score>
SelectItemScorable<OuterItem,InnerItem,Score>
Atributos

Construtores

SelectItemScorable<OuterItem,InnerItem,Score>(IScorable<InnerItem,Score>, Func<OuterItem,InnerItem>)

Métodos

DoneAsync(OuterItem, OuterState, CancellationToken) (Herdado de ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
GetScore(Item, State) (Herdado de ScorableBase<Item,State,Score>)
HasScore(OuterItem, OuterState) (Herdado de ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PostAsync(OuterItem, OuterState, CancellationToken) (Herdado de ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PrepareAsync(Item, CancellationToken) (Herdado de ScorableBase<Item,State,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