BatchTransformingAsyncCursorTFromDocument, TToDocument Constructor |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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