Method MapToDotNetValue
MapToDotNetValue(BsonValue)
Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions.
public static object MapToDotNetValue(BsonValue bsonValue)
Parameters
bsonValueBsonValueThe 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
bsonValueBsonValueThe BsonValue.
optionsBsonTypeMapperOptionsThe BsonTypeMapperOptions.
Returns
- object
The mapped .NET value.