Language

Scorable.TryReduce<Item,Score> メソッド

定義

得点リストを簡略化してみてください。

public static bool TryReduce<Item,Score>(ref System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Scorables.IScorable<Item,Score>> scorables, out Microsoft.Bot.Builder.Scorables.IScorable<Item,Score> scorable);
static member TryReduce : seq * IScorable -> bool
Public Function TryReduce(Of Item, Score) (ByRef scorables As IEnumerable(Of IScorable(Of Item, Score)), ByRef scorable As IScorable(Of Item, Score)) As Boolean

型パラメーター

Item
Score

パラメーター

scorables
IEnumerable<IScorable<Item,Score>>

スコアの簡略リスト。

scorable
IScorable<Item,Score>

可能であれば、そのリストを表す単一の得点対象です。

返品

得点可能なリストを単一の得点対象に縮小できる場合に真、そうでなければ偽です。

適用対象