BatchTransformingAsyncCursorTFromDocument, TToDocument Constructor |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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