Represents options used by the BsonTypeMapper. More...
Public Member Functions | |
BsonTypeMapperOptions () | |
Initializes a new instance of the BsonTypeMapperOptions class. | |
BsonTypeMapperOptions | Clone () |
Clones the BsonTypeMapperOptions. | |
BsonTypeMapperOptions | Freeze () |
Freezes the BsonTypeMapperOptions. | |
Properties | |
static BsonTypeMapperOptions | Defaults [get, set] |
Gets or sets the default BsonTypeMapperOptions. | |
DuplicateNameHandling | DuplicateNameHandling [get, set] |
Gets or sets how duplicate names should be handled. | |
bool | IsFrozen [get] |
Gets whether the BsonTypeMapperOptions is frozen. | |
Type | MapBsonArrayTo [get, set] |
Gets or sets the type that a BsonArray should be mapped to. | |
Type | MapBsonDocumentTo [get, set] |
Gets or sets the type that a BsonDocument should be mapped to. | |
bool | MapOldBinaryToByteArray [get, set] |
Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is. | |
Represents options used by the BsonTypeMapper.
|
inline |
Initializes a new instance of the BsonTypeMapperOptions class.
|
inline |
Clones the BsonTypeMapperOptions.
|
inline |
Freezes the BsonTypeMapperOptions.
|
staticgetset |
Gets or sets the default BsonTypeMapperOptions.
|
getset |
Gets or sets how duplicate names should be handled.
|
get |
Gets whether the BsonTypeMapperOptions is frozen.
|
getset |
Gets or sets the type that a BsonArray should be mapped to.
|
getset |
Gets or sets the type that a BsonDocument should be mapped to.
|
getset |
Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is.