Partager via


SelectItemScorable<OuterItem,InnerItem,Score> Classe

Définition

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

Paramètres de type

OuterItem
InnerItem
Score
Héritage
ScorableBase<OuterItem,OuterState,OuterScore>
ScorableAggregator<OuterItem,Token<InnerItem,Score>,Score,InnerItem,Object,Score>
SelectItemScorable<OuterItem,InnerItem,Score>
Attributs

Constructeurs

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

Méthodes

DoneAsync(OuterItem, OuterState, CancellationToken) (Hérité de ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
GetScore(Item, State) (Hérité de ScorableBase<Item,State,Score>)
HasScore(OuterItem, OuterState) (Hérité de ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PostAsync(OuterItem, OuterState, CancellationToken) (Hérité de ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PrepareAsync(Item, CancellationToken) (Hérité de ScorableBase<Item,State,Score>)

Implémentations d’interfaces explicites

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

Méthodes d’extension

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

Projetez l’élément d’un scorable à l’aide d’une expression lambda.

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

Projetez le score d’un scorable à l’aide d’une expression lambda.

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

Appelez le protocole d’appel scorable sur un seul scorable.

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

S’applique à