Table of Contents

Class BsonArraySerializer

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

Represents a serializer for BsonArrays.

public sealed class BsonArraySerializer : BsonValueSerializerBase<BsonArray>, IBsonSerializer<BsonArray>, IBsonArraySerializer, IBsonSerializer
Inheritance
BsonArraySerializer
Implements
Inherited Members
Extension Methods

Constructors

BsonArraySerializer()

Initializes a new instance of the BsonArraySerializer class.

Properties

Instance

Gets an instance of the BsonArraySerializer class.

Methods

DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, BsonArray)

Serializes a value.

TryGetItemSerializationInfo(out BsonSerializationInfo)

Tries to get the serialization info for the individual items of the array.