Class RenderedProjectionDefinition<TProjection>
A rendered projection.
public sealed class RenderedProjectionDefinition<TProjection>
Type Parameters
TProjection
The type of the projection.
- Inheritance
-
RenderedProjectionDefinition<TProjection>
- Inherited Members
Constructors
RenderedProjectionDefinition(BsonDocument, IBsonSerializer<TProjection>)
Initializes a new instance of the RenderedProjectionDefinition<TProjection> class.
public RenderedProjectionDefinition(BsonDocument document, IBsonSerializer<TProjection> projectionSerializer)
Parameters
document
BsonDocumentThe document.
projectionSerializer
IBsonSerializer<TProjection>The projection serializer.
Properties
Document
Gets the document.
public BsonDocument Document { get; }
Property Value
ProjectionSerializer
Gets the serializer.
public IBsonSerializer<TProjection> ProjectionSerializer { get; }
Property Value
- IBsonSerializer<TProjection>