Table of Contents

Constructor SerializeAsNominalTypeSerializer

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

SerializeAsNominalTypeSerializer()

Initializes a new instance of the SerializeAsNominalTypeSerializer<TActualType, TNominalType> class.

public SerializeAsNominalTypeSerializer()

SerializeAsNominalTypeSerializer(IBsonSerializer<TNominalType>)

Initializes a new instance of the SerializeAsNominalTypeSerializer<TActualType, TNominalType> class.

public SerializeAsNominalTypeSerializer(IBsonSerializer<TNominalType> nominalTypeSerializer)

Parameters

nominalTypeSerializer IBsonSerializer<TNominalType>

The base class serializer.

SerializeAsNominalTypeSerializer(IBsonSerializerRegistry)

Initializes a new instance of the SerializeAsNominalTypeSerializer<TActualType, TNominalType> class.

public SerializeAsNominalTypeSerializer(IBsonSerializerRegistry serializerRegistry)

Parameters

serializerRegistry IBsonSerializerRegistry

The serializer registry.