Click or drag to resize

BatchableSourceT Constructor (IEnumerableT)

Note: This API is now obsolete.

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
[ObsoleteAttribute("Use one of the other constructors instead.")]
public BatchableSource(
	IEnumerable<T> batch
)

Parameters

batch
Type: System.Collections.GenericIEnumerableT
The single batch.
Remarks
Use this overload when you know the batch is small and won't have to be broken up into sub-batches. In that case using this overload is simpler than using an enumerator and using the other constructor.
See Also