Scorable.SelectItem<SourceItem,TargetItem,Score> メソッド

定義

ラムダ式を使用して、スコアリング可能な項目を投影します。

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)

型パラメーター

SourceItem
TargetItem
Score

パラメーター

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

戻り値

IScorable<SourceItem,Score>

適用対象