Class ObjectProjectionDefinition<TSource, TProjection>
An Object based projection.
public sealed class ObjectProjectionDefinition<TSource, TProjection> : ProjectionDefinition<TSource, TProjection>
Type Parameters
TSource
The type of the source.
TProjection
The type of the projection.
- Inheritance
-
ProjectionDefinition<TSource, TProjection>ObjectProjectionDefinition<TSource, TProjection>
- Inherited Members
Constructors
- ObjectProjectionDefinition(object, IBsonSerializer<TProjection>)
Initializes a new instance of the ObjectProjectionDefinition<TSource, TProjection> class.
Properties
- Object
Gets the object.
- ProjectionSerializer
Gets the projection serializer.
Methods
- Render(IBsonSerializer<TSource>, IBsonSerializerRegistry, LinqProvider)
Renders the projection to a RenderedProjectionDefinition<TProjection>.