Method Render
Render(IBsonSerializer<TSource>, IBsonSerializerRegistry, LinqProvider)
Renders the aggregation expression.
[Obsolete("Use Render(RenderArgs<TSource> args) overload instead.")]
public virtual BsonValue Render(IBsonSerializer<TSource> sourceSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
sourceSerializer
IBsonSerializer<TSource>The source serializer.
serializerRegistry
IBsonSerializerRegistryThe serializer registry.
linqProvider
LinqProviderThe LINQ provider.
Returns
- BsonValue
The rendered aggregation expression.
Render(RenderArgs<TSource>)
Renders the aggregation expression to a BsonValue.
public abstract BsonValue Render(RenderArgs<TSource> args)
Parameters
args
RenderArgs<TSource>The render arguments.