Class TwoDimensionalArraySerializer<TItem>
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for two-dimensional arrays.
public sealed class TwoDimensionalArraySerializer<TItem> : SealedClassSerializerBase<TItem[,]>, IBsonSerializer<TItem[,]>, IBsonSerializer, IChildSerializerConfigurable
Type Parameters
TItem
The type of the elements.
- Inheritance
-
SerializerBase<TItem[,]>SealedClassSerializerBase<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.
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Serves as the default hash function.
- SerializeValue(BsonSerializationContext, BsonSerializationArgs, TItem[,])
Serializes a value.
- WithItemSerializer(IBsonSerializer<TItem>)
Returns a serializer that has been reconfigured with the specified item serializer.