Table of Contents

Method Render

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

Render(SearchDefinitionRenderContext<TDocument>)

Renders the path to a BsonValue.

[Obsolete("Use Render(RenderArgs<TSource> args) overload instead.")]
public virtual BsonValue Render(SearchDefinitionRenderContext<TDocument> renderContext)

Parameters

renderContext SearchDefinitionRenderContext<TDocument>

The render context.

Returns

BsonValue

A BsonValue.

Render(RenderArgs<TDocument>)

Renders the path to a BsonValue.

public abstract BsonValue Render(RenderArgs<TDocument> args)

Parameters

args RenderArgs<TDocument>

The render arguments.

Returns

BsonValue

A BsonValue.