Class ElementAppendingSerializer

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization.Serializers

Assembly

MongoDB.Bson.dll

A serializer that serializes a document and appends elements to the end of it.

public sealed class ElementAppendingSerializer<TDocument> : IBsonSerializer<TDocument>, IBsonSerializer

Type Parameters

TDocument

The type of the document.

Inheritance

ElementAppendingSerializer

Implements

Inherited Members

Extension Methods

Constructors

ElementAppendingSerializer(IBsonSerializer, IEnumerable, Action)

Initializes a new instance of the ElementAppendingSerializer class.

Properties

ValueType

Gets the type of the value.

Methods

Deserialize(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.

Serialize(BsonSerializationContext, BsonSerializationArgs, TDocument)

Serializes a value.

See Also