BatchTransformingAsyncCursorTFromDocument, TToDocument Constructor |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public BatchTransformingAsyncCursor(
IAsyncCursor<TFromDocument> wrapped,
Func<IEnumerable<TFromDocument>, IEnumerable<TToDocument>> transformer
)
Public Sub New (
wrapped As IAsyncCursor(Of TFromDocument),
transformer As Func(Of IEnumerable(Of TFromDocument), IEnumerable(Of TToDocument))
)
new :
wrapped : IAsyncCursor<'TFromDocument> *
transformer : Func<IEnumerable<'TFromDocument>, IEnumerable<'TToDocument>> -> BatchTransformingAsyncCursor
Parameters
- wrapped
- Type: MongoDB.DriverIAsyncCursorTFromDocument
The wrapped. - transformer
- Type: SystemFuncIEnumerableTFromDocument, IEnumerableTToDocument
The transformer.
See Also