Compartilhar 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

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>)

Implantações explícitas de interface

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 de Extensão

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

Projecione o item de um escorável usando uma expressão lambda.

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

Projecione a pontuação de um escorável usando uma expressão lambda.

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

Invoque o protocolo de chamada ecorável em um único escorável.

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

Aplica-se a