Table of Contents

Operator implicit operator

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

implicit operator SearchDefinition<TDocument>(CompoundSearchDefinitionBuilder<TDocument>)

Performs an implicit conversion from a CompoundSearchDefinitionBuilder<TDocument> to a SearchDefinition<TDocument>.

public static implicit operator SearchDefinition<TDocument>(CompoundSearchDefinitionBuilder<TDocument> builder)

Parameters

builder CompoundSearchDefinitionBuilder<TDocument>

The compound search definition builder.

Returns

SearchDefinition<TDocument>

The result of the conversion.