Redigera

Dela via


Utils.BatchIEnumerable<T>(IEnumerable<T>, Int32) Method

Definition

public static System.Collections.Generic.IEnumerable<System.Collections.Generic.List<T>> BatchIEnumerable<T> (this System.Collections.Generic.IEnumerable<T> sequence, int batchSize);
static member BatchIEnumerable : seq<'T> * int -> seq<System.Collections.Generic.List<'T>>
<Extension()>
Public Iterator Function BatchIEnumerable(Of T) (sequence As IEnumerable(Of T), batchSize As Integer) As IEnumerable(Of List(Of T))

Type Parameters

T

Parameters

sequence
IEnumerable<T>
batchSize
Int32

Returns

Applies to