Table of Contents

Method RenderField

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

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

Renders the field.

protected string RenderField(FieldDefinition<TDocument> fieldDefinition, SearchDefinitionRenderContext<TDocument> renderContext)

Parameters

fieldDefinition FieldDefinition<TDocument>

The field definition.

renderContext SearchDefinitionRenderContext<TDocument>

The render context.

Returns

string

The rendered field.