Table of Contents

Constructor ObjectProjectionDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ObjectProjectionDefinition(object, IBsonSerializer<TProjection>)

Initializes a new instance of the ObjectProjectionDefinition<TSource, TProjection> class.

public ObjectProjectionDefinition(object obj, IBsonSerializer<TProjection> projectionSerializer = null)

Parameters

obj object

The object.

projectionSerializer IBsonSerializer<TProjection>

The projection serializer.