BatchableSourceT Constructor (IEnumeratorT)

Note: This API is now obsolete.

Initializes a new instance of the BatchableSourceT class.

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
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

Reference