Operator implicit operator
implicit operator SearchDefinition<TDocument>(BsonDocument)
Performs an implicit conversion from a BSON document to a SearchDefinition<TDocument>.
Parameters
document
BsonDocument The BSON document specifying the search definition.
Returns
- Search
Definition <TDocument> The result of the conversion.
implicit operator SearchDefinition<TDocument>(string)
Performs an implicit conversion from a string to a SearchDefinition<TDocument>.
Parameters
json
stringThe string specifying the search definition in JSON.
Returns
- Search
Definition <TDocument> The result of the conversion.