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