Table of Contents

Constructor ArraySerializer

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

ArraySerializer()

Initializes a new instance of the ArraySerializer<TItem> class.

public ArraySerializer()

ArraySerializer(IBsonSerializer<TItem>)

Initializes a new instance of the ArraySerializer<TItem> class.

public ArraySerializer(IBsonSerializer<TItem> itemSerializer)

Parameters

itemSerializer IBsonSerializer<TItem>

The item serializer.

ArraySerializer(IBsonSerializerRegistry)

Initializes a new instance of the ArraySerializer<TItem> class.

public ArraySerializer(IBsonSerializerRegistry serializerRegistry)

Parameters

serializerRegistry IBsonSerializerRegistry

The serializer registry.