Compartilhar via


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

Definição

Projecione a pontuação de um escorável usando uma expressão 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)

Parâmetros de tipo

Item
SourceScore
TargetScore

Parâmetros

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

Retornos

IScorable<Item,TargetScore>

Aplica-se a