Table of Contents

Class TwoDimensionalArraySerializer<TItem>

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

Represents a serializer for two-dimensional arrays.

public class TwoDimensionalArraySerializer<TItem> : SealedClassSerializerBase<TItem[,]>, IBsonSerializer<TItem[,]>, IBsonSerializer, IChildSerializerConfigurable

Type Parameters

TItem

The type of the elements.

Inheritance
SerializerBase<TItem[,]>
TwoDimensionalArraySerializer<TItem>
Implements
IBsonSerializer<TItem[,]>
Inherited Members
Extension Methods

Constructors

TwoDimensionalArraySerializer()

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

TwoDimensionalArraySerializer(IBsonSerializerRegistry)

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

TwoDimensionalArraySerializer(IBsonSerializer<TItem>)

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

Properties

ItemSerializer

Gets the item serializer.

Methods

DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, TItem[,])

Serializes a value.

WithItemSerializer(IBsonSerializer<TItem>)

Returns a serializer that has been reconfigured with the specified item serializer.