Method MapToDotNetValue
MapToDotNetValue(BsonValue)
Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions.
public static object MapToDotNetValue(BsonValue bsonValue)
Parameters
bsonValue
BsonValueThe BsonValue.
Returns
- object
The mapped .NET value.
MapToDotNetValue(BsonValue, BsonTypeMapperOptions)
Maps a BsonValue to a .NET value.
public static object MapToDotNetValue(BsonValue bsonValue, BsonTypeMapperOptions options)
Parameters
bsonValue
BsonValueThe BsonValue.
options
BsonTypeMapperOptionsThe BsonTypeMapperOptions.
Returns
- object
The mapped .NET value.