Table of Contents

Constructor ProjectingDeserializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

ProjectingDeserializer(IBsonSerializer<TFrom>, Func<TFrom, TTo>)

Initializes a new instance of the ProjectingDeserializer<TFrom, TTo> class.

public ProjectingDeserializer(IBsonSerializer<TFrom> fromSerializer, Func<TFrom, TTo> projector)

Parameters

fromSerializer IBsonSerializer<TFrom>

From serializer.

projector Func<TFrom, TTo>

The projector.