Click or drag to resize

BatchableSourceT Constructor (IEnumeratorT)

Note: This API is now obsolete.

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
[ObsoleteAttribute("Use one of the other constructors instead.")]
public BatchableSource(
	IEnumerator<T> enumerator
)

Parameters

enumerator
Type: System.Collections.GenericIEnumeratorT
The enumerator that will provide the items for the batch.
See Also