BatchTransformingAsyncCursorTFromDocument, TToDocument Constructor |
Namespace: MongoDB.DriverAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.3.0
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