Table of Contents

Constructor DiscriminatedWrapperSerializer

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

DiscriminatedWrapperSerializer(IDiscriminatorConvention, IBsonSerializer<TValue>)

Initializes a new instance of the DiscriminatedWrapperSerializer<TValue> class.

public DiscriminatedWrapperSerializer(IDiscriminatorConvention discriminatorConvention, IBsonSerializer<TValue> wrappedSerializer)

Parameters

discriminatorConvention IDiscriminatorConvention

The discriminator convention.

wrappedSerializer IBsonSerializer<TValue>

The wrapped serializer.