Constructor DowncastingSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
DowncastingSerializer(IBsonSerializer<TDerived>)
Initializes a new instance of DowncastingSerializer.
public DowncastingSerializer(IBsonSerializer<TDerived> derivedSerializer)
Parameters
derivedSerializer
IBsonSerializer<TDerived>The derived type serializer.