Freigeben über


Scorable.Fold<Item,Score> Methode

Definition

Falte eine Enumeration von Scorables mithilfe eines Bewertungsvergleichs.

public static Microsoft.Bot.Builder.Scorables.IScorable<Item,Score> Fold<Item,Score> (this System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Scorables.IScorable<Item,Score>> scorables, System.Collections.Generic.IComparer<Score> comparer = default, Microsoft.Bot.Builder.Scorables.Internals.FoldScorable<Item,Score>.OnStageDelegate onStage = default);
static member Fold : seq<Microsoft.Bot.Builder.Scorables.IScorable<'Item, 'Score>> * System.Collections.Generic.IComparer<'Score> * Microsoft.Bot.Builder.Scorables.Internals.FoldScorable<'Item, 'Score>.OnStageDelegate -> Microsoft.Bot.Builder.Scorables.IScorable<'Item, 'Score>
<Extension()>
Public Function Fold(Of Item, Score) (scorables As IEnumerable(Of IScorable(Of Item, Score)), Optional comparer As IComparer(Of Score) = Nothing, Optional onStage As FoldScorable(Of Item, Score).OnStageDelegate = Nothing) As IScorable(Of Item, Score)

Typparameter

Item
Score

Parameter

scorables
IEnumerable<IScorable<Item,Score>>
comparer
IComparer<Score>

Gibt zurück

Gilt für: