Table of Contents

Constructor RenderArgs

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

RenderArgs(IBsonSerializer<TDocument>, IBsonSerializerRegistry, PathRenderArgs, bool, bool, bool, ExpressionTranslationOptions)

Initializes a new instance of the RenderArgs<TDocument> record.

public RenderArgs(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, PathRenderArgs pathRenderArgs = default, bool renderDollarForm = false, bool renderForFind = false, bool renderForElemMatch = false, ExpressionTranslationOptions translationOptions = null)

Parameters

documentSerializer IBsonSerializer<TDocument>

The document serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

pathRenderArgs PathRenderArgs

The path render arguments.

renderDollarForm bool

Value that specifies whether full dollar for should be rendered.

renderForFind bool

Value that specifies whether rendering a find operation.

renderForElemMatch bool

Value that specifies whether rendering an $elemMatch.

translationOptions ExpressionTranslationOptions

The translation options.