Table of Contents

Method Render

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry)

Renders the field to a RenderedFieldDefinition.

[Obsolete("Use Render(RenderArgs<TSource> args) overload instead.")]
public virtual RenderedFieldDefinition Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry)

Parameters

documentSerializer IBsonSerializer<TDocument>

The document serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

Returns

RenderedFieldDefinition

A RenderedFieldDefinition.

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the field to a RenderedFieldDefinition.

[Obsolete("Use Render(RenderArgs<TDocument> args) overload instead.")]
public virtual RenderedFieldDefinition Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)

Parameters

documentSerializer IBsonSerializer<TDocument>

The document serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

linqProvider LinqProvider

The LINQ provider.

Returns

RenderedFieldDefinition

A RenderedFieldDefinition.

Render(RenderArgs<TDocument>)

Renders the field to a RenderedFieldDefinition.

public abstract RenderedFieldDefinition Render(RenderArgs<TDocument> args)

Parameters

args RenderArgs<TDocument>

The render arguments.

Returns

RenderedFieldDefinition

A RenderedFieldDefinition.