Udostępnij przez


Scorable.TryReduce<Item,Score> Metoda

Definicja

Spróbuj uprościć listę scorables.

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

Parametry typu

Item
Score

Parametry

scorables
IEnumerable<IScorable<Item,Score>>

Uproszczona lista scorables.

scorable
IScorable<Item,Score>

Pojedynczy scorable reprezentujący listę, jeśli to możliwe.

Zwraca

Prawda, jeśli można było zmniejszyć listę scorables do pojedynczego scorable, false w przeciwnym razie.

Dotyczy