Partager via


Scorable.SelectScore<Item,SourceScore,TargetScore> Méthode

Définition

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

public static Microsoft.Bot.Builder.Scorables.IScorable<Item,TargetScore> SelectScore<Item,SourceScore,TargetScore> (this Microsoft.Bot.Builder.Scorables.IScorable<Item,SourceScore> scorable, Func<Item,SourceScore,TargetScore> selector);
static member SelectScore : Microsoft.Bot.Builder.Scorables.IScorable<'Item, 'SourceScore> * Func<'Item, 'SourceScore, 'argetScore> -> Microsoft.Bot.Builder.Scorables.IScorable<'Item, 'argetScore>
<Extension()>
Public Function SelectScore(Of Item, SourceScore, TargetScore) (scorable As IScorable(Of Item, SourceScore), selector As Func(Of Item, SourceScore, TargetScore)) As IScorable(Of Item, TargetScore)

Paramètres de type

Item
SourceScore
TargetScore

Paramètres

scorable
IScorable<Item,SourceScore>
selector
Func<Item,SourceScore,TargetScore>

Retours

IScorable<Item,TargetScore>

S’applique à