Scorable.SelectItem<SourceItem,TargetItem,Score> Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Project das Element eines Scorables mit einem Lambda-Ausdruck.
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)
Typparameter
- SourceItem
- TargetItem
- Score
Parameter
- scorable
- IScorable<TargetItem,Score>
- selector
- Func<SourceItem,TargetItem>