Table of Contents

Class DynamicDocumentBaseSerializer<T>

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

Base serializer for dynamic types.

public abstract class DynamicDocumentBaseSerializer<T> : SerializerBase<T>, IBsonSerializer<T>, IBsonSerializer where T : class, IDynamicMetaObjectProvider

Type Parameters

T

The dynamic type.

Inheritance
DynamicDocumentBaseSerializer<T>
Implements
Derived
Inherited Members
Extension Methods

Constructors

DynamicDocumentBaseSerializer()

Initializes a new instance of the DynamicDocumentBaseSerializer<T> class.

Methods

ConfigureDeserializationContext(Builder)

Configures the deserialization context.

ConfigureSerializationContext(Builder)

Configures the serialization context.

CreateDocument()

Creates the document.

Deserialize(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

Serialize(BsonSerializationContext, BsonSerializationArgs, T)

Serializes a value.

SetValueForMember(T, string, object)

Sets the value for the member.

TryGetValueForMember(T, string, out object)

Tries to get the value for a member. Returns true if the member should be serialized.