Method Render
Render(SearchDefinitionRenderContext<TDocument>)
Renders the search facet to a BsonDocument.
[Obsolete("Use Render(RenderArgs<TDocument> args) overload instead.")]
public virtual BsonDocument Render(SearchDefinitionRenderContext<TDocument> renderContext)
Parameters
renderContext
SearchDefinitionRenderContext<TDocument>The render context.
Returns
Render(RenderArgs<TDocument>)
Renders the search facet to a BsonDocument.
public abstract BsonDocument Render(RenderArgs<TDocument> args)
Parameters
args
RenderArgs<TDocument>The render arguments.