Struct RenderArgs
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Encapsulates settings needed for rendering Builder definitions.
public record struct RenderArgs<TDocument> : IEquatable<RenderArgs<TDocument>>
Type Parameters
TDocument
The type of the document.
Implements
Inherited Members
Constructors
Initializes a new instance of the RenderArgs record.
Properties
Gets the document serializer.
Gets the path render arguments.
Gets the value indicating whether full dollar form should be rendered.
Gets the value indicating whether Render is being called for ElemMatch.
Gets the value indicating whether Render is being called for Find.
Gets the serializer registry.
Gets the translation options used when translation Expressions to MQL.
Methods
Returns DocumentSerializer if it implements IBsonSerializer{T}
or resolves IBsonSerializer{T}
from SerializerRegistry.
WithNewDocumentType(IBsonSerializer)
Creates a new RenderArgs with new document type {TNewDocument}