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