Scorable.SelectScore<Item,SourceScore,TargetScore> 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 score of a scorable using a lambda expression.
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)
Type Parameters
- Item
- SourceScore
- TargetScore
Parameters
- scorable
- IScorable<Item,SourceScore>
- selector
- Func<Item,SourceScore,TargetScore>
Returns
IScorable<Item,TargetScore>