Język

Scorable.TryReduce<Item,Score> Metoda

Definicja

Spróbuj uprościć listę przedmiotów do oceny.

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 punktów do zdobycia.

scorable
IScorable<Item,Score>

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

Zwraca

Prawda, gdyby dało się ograniczyć listę do jednego punktowalnego, fałszywe w przeciwnym razie.

Dotyczy