Class JsonProjectionDefinition<TSource, TProjection>
A JSON string based projection.
public sealed class JsonProjectionDefinition<TSource, TProjection> : ProjectionDefinition<TSource, TProjection>Type Parameters
- TSource
- The type of the source. 
- TProjection
- The type of the projection. 
- Inheritance
- 
      
      ProjectionDefinition<TSource, TProjection>JsonProjectionDefinition<TSource, TProjection>
- Inherited Members
Constructors
- JsonProjectionDefinition(string, IBsonSerializer<TProjection>)
- Initializes a new instance of the BsonDocumentSortDefinition<TDocument> class. 
Properties
- Json
- Gets the json. 
- ProjectionSerializer
- Gets the projection serializer. 
Methods
- Render(RenderArgs<TSource>)
- Renders the projection to a RenderedProjectionDefinition<TProjection>.