Table of Contents

Class BsonTypeMapperOptions

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents options used by the BsonTypeMapper.

public class BsonTypeMapperOptions
Inheritance
BsonTypeMapperOptions
Inherited Members
Extension Methods

Constructors

BsonTypeMapperOptions()

Initializes a new instance of the BsonTypeMapperOptions class.

Properties

Defaults

Gets or sets the default BsonTypeMapperOptions.

DuplicateNameHandling

Gets or sets how duplicate names should be handled.

IsFrozen

Gets whether the BsonTypeMapperOptions is frozen.

MapBsonArrayTo

Gets or sets the type that a BsonArray should be mapped to.

MapBsonDocumentTo

Gets or sets the type that a BsonDocument should be mapped to.

MapOldBinaryToByteArray

Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is.

Methods

Clone()

Clones the BsonTypeMapperOptions.

Freeze()

Freezes the BsonTypeMapperOptions.