Constructor RenderArgs
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
documentSerializerIBsonSerializer<TDocument>The document serializer.
serializerRegistryIBsonSerializerRegistryThe serializer registry.
pathRenderArgsPathRenderArgsThe path render arguments.
renderDollarFormboolValue that specifies whether full dollar for should be rendered.
renderForFindboolValue that specifies whether rendering a find operation.
renderForElemMatchboolValue that specifies whether rendering an $elemMatch.
translationOptionsExpressionTranslationOptionsThe translation options.