Table of Contents

Class BsonSerializationContext

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

Represents all the contextual information needed by a serializer to serialize a value.

public class BsonSerializationContext
Inheritance
BsonSerializationContext
Inherited Members
Extension Methods

Properties

IsDynamicType

Gets a function that, when executed, will indicate whether the type is a dynamic type.

Writer

Gets the writer.

Methods

CreateRoot(IBsonWriter, Action<Builder>)

Creates a root context.

With(Action<Builder>)

Creates a new context with some values changed.