Table of Contents

Constructor BatchTransformingAsyncCursor

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

BatchTransformingAsyncCursor(IAsyncCursor<TFromDocument>, Func<IEnumerable<TFromDocument>, IEnumerable<TToDocument>>)

Initializes a new instance of the BatchTransformingAsyncCursor<TFromDocument, TToDocument> class.

public BatchTransformingAsyncCursor(IAsyncCursor<TFromDocument> wrapped, Func<IEnumerable<TFromDocument>, IEnumerable<TToDocument>> transformer)

Parameters

wrapped IAsyncCursor<TFromDocument>

The wrapped.

transformer Func<IEnumerable<TFromDocument>, IEnumerable<TToDocument>>

The transformer.