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