Scorable.TryReduce<Item,Score> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Try to simplify a list of 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
Type Parameters
- Item
- Score
Parameters
- scorables
- IEnumerable<IScorable<Item,Score>>
The simplified list of scorables.
- scorable
- IScorable<Item,Score>
The single scorable representing the list, if possible.
Returns
True if it were possible to reduce the list of scorables to a single scorable, false otherwise.