Table of Contents

Constructor SearchDefinitionRenderContext

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

SearchDefinitionRenderContext(IBsonSerializer<TDocument>, IBsonSerializerRegistry, string)

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

public SearchDefinitionRenderContext(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, string pathPrefix = null)

Parameters

documentSerializer IBsonSerializer<TDocument>

The document serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

pathPrefix string

The path prefix.