Constructor BatchTransformingAsyncCursor
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.