Scorable.SelectItem<SourceItem,TargetItem,Score> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>