Table of Contents

Constructor NullableSerializer

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

NullableSerializer()

Initializes a new instance of the NullableSerializer<T> class.

public NullableSerializer()

NullableSerializer(IBsonSerializer<T>)

Initializes a new instance of the NullableSerializer<T> class.

public NullableSerializer(IBsonSerializer<T> serializer)

Parameters

serializer IBsonSerializer<T>

The serializer.

NullableSerializer(IBsonSerializerRegistry)

Initializes a new instance of the NullableSerializer<T> class.

public NullableSerializer(IBsonSerializerRegistry serializerRegistry)

Parameters

serializerRegistry IBsonSerializerRegistry

The serializer registry.