Click or drag to resize
IFindFluent<TDocument, TProjection> Interface
Fluent interface for find.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax
public interface IFindFluent<TDocument, TProjection> : IAsyncCursorSource<TProjection>

Type Parameters

TDocument
The type of the document.
TProjection
The type of the projection (same as TDocument if there is no projection).

The IFindFluent< TDocument, TProjection> type exposes the following members.

Methods
Extension Methods
  NameDescription
Public Extension MethodForEachAsync<TProjection>(Func<TProjection, Task>, CancellationToken)Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.)
Public Extension MethodForEachAsync<TProjection>(Func<TProjection, Int32, Task>, CancellationToken)Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.)
Public Extension MethodForEachAsync<TProjection>(Action<TProjection>, CancellationToken)Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.)
Public Extension MethodForEachAsync<TProjection>(Action<TProjection, Int32>, CancellationToken)Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.)
Public Extension MethodToListAsync<TProjection>
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.)
Top
Properties
  NameDescription
Public propertyFilter
Gets or sets the filter.
Public propertyOptions
Gets the options.
Top
Remarks
See Also