Constructor ObjectProjectionDefinition
ObjectProjectionDefinition(object, IBsonSerializer<TProjection>)
Initializes a new instance of the ObjectProjectionDefinition<TSource, TProjection> class.
public ObjectProjectionDefinition(object obj, IBsonSerializer<TProjection> projectionSerializer = null)
Parameters
obj
objectThe object.
projectionSerializer
IBsonSerializer<TProjection>The projection serializer.