Class BsonSerializationContext

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

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)

Creates a root context.

With(Action)

Creates a new context with some values changed.