ExtensionMethodsBatchT Method

[Missing <summary> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.Batch``1(System.Collections.Generic.IEnumerable{``0},System.Int32)"]

Definition

Namespace: WorkZone.Dispatcher.Base.Messages
Assembly: WorkZone.Dispatcher.Base_24.4.0.0 (in WorkZone.Dispatcher.Base_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static IEnumerable<List<T>> Batch<T>(
	this IEnumerable<T> source,
	int size
)

Parameters

source  IEnumerableT

[Missing <param name="source"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.Batch``1(System.Collections.Generic.IEnumerable{``0},System.Int32)"]

size  Int32

[Missing <param name="size"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.Batch``1(System.Collections.Generic.IEnumerable{``0},System.Int32)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.Batch``1(System.Collections.Generic.IEnumerable{``0},System.Int32)"]

Return Value

IEnumerableListT

[Missing <returns> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.Batch``1(System.Collections.Generic.IEnumerable{``0},System.Int32)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also