Method Render
Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)
Renders the SetFieldDefinition.
[Obsolete("Use Render(RenderArgs<TDocument> args) overload instead.")]
public virtual BsonElement Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
documentSerializer
IBsonSerializer<TDocument>The document serializer.
serializerRegistry
IBsonSerializerRegistryThe serializer registry.
linqProvider
LinqProviderThe linq provider.
Returns
- BsonElement
The rendered SetFieldDefinition.
Render(RenderArgs<TDocument>)
Renders the SetFieldDefinition.
public abstract BsonElement Render(RenderArgs<TDocument> args)
Parameters
args
RenderArgs<TDocument>The render arguments.
Returns
- BsonElement
The rendered SetFieldDefinition.