Table of Contents

Method Render

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Render(IBsonSerializer<TSource>, IBsonSerializerRegistry, LinqProvider)

Renders the projection to a RenderedProjectionDefinition<TProjection>.

public override RenderedProjectionDefinition<TProjection> Render(IBsonSerializer<TSource> sourceSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)

Parameters

sourceSerializer IBsonSerializer<TSource>

The source serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

linqProvider LinqProvider

The LINQ provider.

Returns

RenderedProjectionDefinition<TProjection>

A RenderedProjectionDefinition<TProjection>.