Interface ICustomBsonTypeMapper
An interface for custom mappers that map an object to a BsonValue.
public interface ICustomBsonTypeMapper
- Extension Methods
Methods
TryMapToBsonValue(object, out BsonValue)
Tries to map an object to a BsonValue.
bool TryMapToBsonValue(object value, out BsonValue bsonValue)
Parameters
Returns
- bool
True if the mapping was successfull.