BatchableSourceT Constructor (IReadOnlyListT, Boolean)

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
public BatchableSource(
	IReadOnlyList<T> items,
	bool canBeSplit = false
)

Parameters

items
Type: System.Collections.GenericIReadOnlyListT
The items.
canBeSplit (Optional)
Type: SystemBoolean
if set to true the batch can be split.
See Also

Reference