Table of Contents

Class SearchPathDefinition<TDocument>

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

Base class for search paths.

public abstract class SearchPathDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
SearchPathDefinition<TDocument>
Inherited Members

Methods

Render(RenderArgs<TDocument>)

Renders the path to a BsonValue.

RenderField(FieldDefinition<TDocument>, RenderArgs<TDocument>)

Renders the field.

Operators

implicit operator SearchPathDefinition<TDocument>(FieldDefinition<TDocument>)

Performs an implicit conversion from FieldDefinition<TDocument> to SearchPathDefinition<TDocument>.

implicit operator SearchPathDefinition<TDocument>(FieldDefinition<TDocument>[])

Performs an implicit conversion from an array of FieldDefinition<TDocument> to SearchPathDefinition<TDocument>.

implicit operator SearchPathDefinition<TDocument>(List<FieldDefinition<TDocument>>)

Performs an implicit conversion from a list of FieldDefinition<TDocument> to SearchPathDefinition<TDocument>.

implicit operator SearchPathDefinition<TDocument>(List<string>)

Performs an implicit conversion from an array of field names to SearchPathDefinition<TDocument>.

implicit operator SearchPathDefinition<TDocument>(string)

Performs an implicit conversion from a field name to SearchPathDefinition<TDocument>.

implicit operator SearchPathDefinition<TDocument>(string[])

Performs an implicit conversion from an array of field names to SearchPathDefinition<TDocument>.