BatchableSourceT Constructor (IEnumerableT) |
Namespace: MongoDB.Driver.Core.MiscAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax public BatchableSource(
IEnumerable<T> batch
)
Public Sub New (
batch As IEnumerable(Of T)
)
new :
batch : IEnumerable<'T> -> BatchableSource
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