Class ElementAppendingSerializer<TDocument>
- 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
TDocumentThe type of the document.
- Inheritance
 - 
      
      ElementAppendingSerializer<TDocument>
 
- Implements
 - 
      IBsonSerializer<TDocument>
 
- Inherited Members
 
- Extension Methods
 
Constructors
- ElementAppendingSerializer(IBsonSerializer<TDocument>, IEnumerable<BsonElement>, Action<BsonWriterSettings>)
 Initializes a new instance of the ElementAppendingSerializer<TDocument> 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
IBsonSerializer<TValue>