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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax [ObsoleteAttribute("Use one of the other constructors instead.")]
public BatchableSource(
IEnumerable<T> batch
)
<ObsoleteAttribute("Use one of the other constructors instead.")>
Public Sub New (
batch As IEnumerable(Of T)
)
[<ObsoleteAttribute("Use one of the other constructors instead.")>]
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