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 class ElementAppendingSerializer<TDocument> : IBsonSerializer<TDocument>, IBsonSerializer
Type Parameters
TDocument
The 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.
- Serialize(BsonSerializationContext, BsonSerializationArgs, TDocument)
Serializes a value.
See Also
IBsonSerializer<TValue>