Partager via


Scorable.SelectItem<SourceItem,TargetItem,Score> Méthode

Définition

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

public static Microsoft.Bot.Builder.Scorables.IScorable<SourceItem,Score> SelectItem<SourceItem,TargetItem,Score> (this Microsoft.Bot.Builder.Scorables.IScorable<TargetItem,Score> scorable, Func<SourceItem,TargetItem> selector);
static member SelectItem : Microsoft.Bot.Builder.Scorables.IScorable<'argetItem, 'Score> * Func<'SourceItem, 'argetItem> -> Microsoft.Bot.Builder.Scorables.IScorable<'SourceItem, 'Score>
<Extension()>
Public Function SelectItem(Of SourceItem, TargetItem, Score) (scorable As IScorable(Of TargetItem, Score), selector As Func(Of SourceItem, TargetItem)) As IScorable(Of SourceItem, Score)

Paramètres de type

SourceItem
TargetItem
Score

Paramètres

scorable
IScorable<TargetItem,Score>
selector
Func<SourceItem,TargetItem>

Retours

IScorable<SourceItem,Score>

S’applique à