| BatchTransformingAsyncCursorTFromDocument, TToDocument Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver
 Syntax
Syntaxpublic sealed class BatchTransformingAsyncCursor<TFromDocument, TToDocument> : IAsyncCursor<TToDocument>, IDisposable
The BatchTransformingAsyncCursorTFromDocument, TToDocument type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | BatchTransformingAsyncCursorTFromDocument, TToDocument | 
            Initializes a new instance of the BatchTransformingAsyncCursorTFromDocument, TToDocument class.
             | 
 Properties
Properties Methods
Methods| Name | Description | |
|---|---|---|
|  | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | 
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | GetHashCode | Serves as the default hash function.(Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MoveNext | 
            Moves to the next batch of documents.
             | 
|  | MoveNextAsync | 
            Moves to the next batch of documents.
             | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | AnyTToDocument | 
            Determines whether the cursor contains any documents.
            (Defined by IAsyncCursorExtensions.) | 
|  | AnyAsyncTToDocument | 
            Determines whether the cursor contains any documents.
            (Defined by IAsyncCursorExtensions.) | 
|  | FirstTToDocument | 
            Returns the first document of a cursor.
            (Defined by IAsyncCursorExtensions.) | 
|  | FirstAsyncTToDocument | 
            Returns the first document of a cursor.
            (Defined by IAsyncCursorExtensions.) | 
|  | FirstOrDefaultTToDocument | 
            Returns the first document of a cursor, or a default value if the cursor contains no documents.
            (Defined by IAsyncCursorExtensions.) | 
|  | FirstOrDefaultAsyncTToDocument | 
            Returns the first document of the cursor, or a default value if the cursor contains no documents.
            (Defined by IAsyncCursorExtensions.) | 
|  | ForEachAsyncTToDocument(FuncTToDocument, Task, CancellationToken) | Overloaded. 
            Calls a delegate for each document returned by the cursor.
            (Defined by IAsyncCursorExtensions.) | 
|  | ForEachAsyncTToDocument(FuncTToDocument, Int32, Task, CancellationToken) | Overloaded. 
            Calls a delegate for each document returned by the cursor.
            (Defined by IAsyncCursorExtensions.) | 
|  | ForEachAsyncTToDocument(ActionTToDocument, CancellationToken) | Overloaded. 
            Calls a delegate for each document returned by the cursor.
            (Defined by IAsyncCursorExtensions.) | 
|  | ForEachAsyncTToDocument(ActionTToDocument, Int32, CancellationToken) | Overloaded. 
            Calls a delegate for each document returned by the cursor.
            (Defined by IAsyncCursorExtensions.) | 
|  | SingleTToDocument | 
            Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document.
            (Defined by IAsyncCursorExtensions.) | 
|  | SingleAsyncTToDocument | 
            Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document.
            (Defined by IAsyncCursorExtensions.) | 
|  | SingleOrDefaultTToDocument | 
            Returns the only document of a cursor, or a default value if the cursor contains no documents.
            This method throws an exception if the cursor contains more than one document.
            (Defined by IAsyncCursorExtensions.) | 
|  | SingleOrDefaultAsyncTToDocument | 
            Returns the only document of a cursor, or a default value if the cursor contains no documents.
            This method throws an exception if the cursor contains more than one document.
            (Defined by IAsyncCursorExtensions.) | 
|  | ToBson | 
            Serializes an object to a BSON byte array.
            (Defined by BsonExtensionMethods.) | 
|  | ToBsonDocument | 
            Serializes an object to a BsonDocument.
            (Defined by BsonExtensionMethods.) | 
|  | ToEnumerableTToDocument | 
            Wraps a cursor in an IEnumerable that can be enumerated one time.
            (Defined by IAsyncCursorExtensions.) | 
|  | ToJson | 
            Serializes an object to a JSON string.
            (Defined by BsonExtensionMethods.) | 
|  | ToListTToDocument | 
            Returns a list containing all the documents returned by a cursor.
            (Defined by IAsyncCursorExtensions.) | 
|  | ToListAsyncTToDocument | 
            Returns a list containing all the documents returned by a cursor.
            (Defined by IAsyncCursorExtensions.) | 
 See Also
See Also