Table of Contents

Class JsonProjectionDefinition<TSource>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A JSON string based projection whose projection type is not yet known.

public sealed class JsonProjectionDefinition<TSource> : ProjectionDefinition<TSource>

Type Parameters

TSource

The type of the source.

Inheritance
JsonProjectionDefinition<TSource>
Inherited Members
Extension Methods

Constructors

JsonProjectionDefinition(string)

Initializes a new instance of the JsonProjectionDefinition<TSource> class.

Properties

Json

Gets the json.

Methods

Render(IBsonSerializer<TSource>, IBsonSerializerRegistry, LinqProvider)

Renders the projection to a RenderedProjectionDefinition<TProjection>.