BsonTypeMapper Class |
Namespace: MongoDB.Bson
The BsonTypeMapper type exposes the following members.
| Name | Description | |
|---|---|---|
| MapToBsonValue(Object) |
Maps an object to an instance of the closest BsonValue class.
| |
| MapToBsonValue(Object, BsonType) |
Maps an object to a specific BsonValue type.
| |
| MapToDotNetValue(BsonValue) |
Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions.
| |
| MapToDotNetValue(BsonValue, BsonTypeMapperOptions) |
Maps a BsonValue to a .NET value.
| |
| RegisterCustomTypeMapper |
Registers a custom type mapper.
| |
| TryMapToBsonValue |
Tries to map an object to an instance of the closest BsonValue class.
|