Table of Contents

Class BsonDocumentSearchDefinition<TDocument>

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

A search definition based on a BSON document.

public sealed class BsonDocumentSearchDefinition<TDocument> : SearchDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
SearchDefinition<TDocument>
BsonDocumentSearchDefinition<TDocument>
Inherited Members

Constructors

BsonDocumentSearchDefinition(BsonDocument)

Initializes a new instance of the BsonDocumentSearchDefinition<TDocument> class.

Properties

Document

Gets the BSON document.

Methods

Render(SearchDefinitionRenderContext<TDocument>)

Renders the search definition to a BsonDocument.