Click or drag to resize

FilterDefinitionTDocumentRender Method (IBsonSerializerTDocument, IBsonSerializerRegistry, LinqProvider)

Renders the filter to a BsonDocument.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public abstract BsonDocument Render(
	IBsonSerializer<TDocument> documentSerializer,
	IBsonSerializerRegistry serializerRegistry,
	LinqProvider linqProvider
)

Parameters

documentSerializer
Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The document serializer.
serializerRegistry
Type: MongoDB.Bson.SerializationIBsonSerializerRegistry
The serializer registry.
linqProvider
Type: MongoDB.Driver.LinqLinqProvider
The LINQ provider.

Return Value

Type: BsonDocument
A BsonDocument.
See Also