Table of Contents

Constructor ClientSideProjectionDeserializer

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ClientSideProjectionDeserializer(IBsonSerializer<TInput>, Func<TInput, TProjection>)

Initializes a new instance of the ClientSideProjectionDeserializer<TInput, TProjection> class.

public ClientSideProjectionDeserializer(IBsonSerializer<TInput> inputSerializer, Func<TInput, TProjection> projector)

Parameters

inputSerializer IBsonSerializer<TInput>

The input serializer.

projector Func<TInput, TProjection>

The client side projector.