Table of Contents

Class BsonDeserializationContext.Builder

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

Represents a builder for a BsonDeserializationContext.

public class BsonDeserializationContext.Builder
Inheritance
BsonDeserializationContext.Builder
Inherited Members
Extension Methods

Properties

AllowDuplicateElementNames

Gets or sets a value indicating whether to allow duplicate element names.

public bool AllowDuplicateElementNames { get; set; }

Property Value

bool

true if duplicate element names should be allowed; otherwise, false.

DynamicArraySerializer

Gets or sets the dynamic array serializer.

public IBsonSerializer DynamicArraySerializer { get; set; }

Property Value

IBsonSerializer

The dynamic array serializer.

DynamicDocumentSerializer

Gets or sets the dynamic document serializer.

public IBsonSerializer DynamicDocumentSerializer { get; set; }

Property Value

IBsonSerializer

The dynamic document serializer.

Reader

Gets the reader.

public IBsonReader Reader { get; }

Property Value

IBsonReader

The reader.