Class BsonDocumentProjectionDefinition<TSource, TProjection>
A BsonDocument based projection.
public sealed class BsonDocumentProjectionDefinition<TSource, TProjection> : ProjectionDefinition<TSource, TProjection>
  Type Parameters
TSourceThe type of the source.
TProjectionThe type of the projection.
- Inheritance
 - 
      
      ProjectionDefinition<TSource, TProjection>BsonDocumentProjectionDefinition<TSource, TProjection>
 
- Inherited Members
 
Constructors
- BsonDocumentProjectionDefinition(BsonDocument, IBsonSerializer<TProjection>)
 Initializes a new instance of the BsonDocumentProjectionDefinition<TSource, TProjection> class.
Properties
- Document
 Gets the document.
- ProjectionSerializer
 Gets the projection serializer.
Methods
- Render(RenderArgs<TSource>)
 Renders the projection to a RenderedProjectionDefinition<TProjection>.