Class SearchDefinitionRenderContext<TDocument>
Encapsulates classes needed for rendering Search definitions.
public sealed class SearchDefinitionRenderContext<TDocument>
  Type Parameters
TDocumentThe type of the document.
- Inheritance
 - 
      
      SearchDefinitionRenderContext<TDocument>
 
- Inherited Members
 
Constructors
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
documentSerializerIBsonSerializer<TDocument>The document serializer.
serializerRegistryIBsonSerializerRegistryThe serializer registry.
pathPrefixstringThe path prefix.
Properties
DocumentSerializer
Gets the document serializer.
public IBsonSerializer<TDocument> DocumentSerializer { get; }
  Property Value
- IBsonSerializer<TDocument>
 
PathPrefix
Gets the path prefix.
public string PathPrefix { get; }
  Property Value
SerializerRegistry
Gets the serializer registry.
public IBsonSerializerRegistry SerializerRegistry { get; }