Class BsonDocumentProjectionDefinition<TSource, TProjection>

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

public sealed class BsonDocumentProjectionDefinition<TSource, TProjection> : ProjectionDefinition<TSource, TProjection>

Type Parameters

TSource

The type of the source.

TProjection

The type of the projection.

Inheritance

BsonDocumentProjectionDefinition<TSource, TProjection>

Inherited Members

Constructors

BsonDocumentProjectionDefinition(BsonDocument, IBsonSerializer)

Initializes a new instance of the BsonDocumentProjectionDefinition<TSource, TProjection> class.

Properties

Document

Gets the document.

ProjectionSerializer

Gets the projection serializer.

Methods

Render(RenderArgs)

Renders the projection to a RenderedProjectionDefinition.