Jaa


Scorable.SelectItem<SourceItem,TargetItem,Score> Method

Definition

Project the item of a scorable using a lambda expression.

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)

Type Parameters

SourceItem
TargetItem
Score

Parameters

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

Returns

IScorable<SourceItem,Score>

Applies to