Constructor RenderArgs
RenderArgs(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider, PathRenderArgs, bool, bool)
Initializes a new instance of the RenderArgs<TDocument> record.
public RenderArgs(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider = LinqProvider.V3, PathRenderArgs pathRenderArgs = default, bool renderDollarForm = false, bool renderForFind = false)
Parameters
documentSerializerIBsonSerializer<TDocument>The document serializer.
serializerRegistryIBsonSerializerRegistryThe serializer registry.
linqProviderLinqProviderThe LINQ provider.
pathRenderArgsPathRenderArgsThe path render arguments.
renderDollarFormboolValue that specifies whether full dollar for should be rendered.
renderForFindboolValue that specifies whether rendering a find operation.