Method Render
Render(IBsonSerializer<TSource>, IBsonSerializerRegistry)
Renders the projection to a RenderedProjectionDefinition<TProjection>.
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>.
public abstract 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.