Method | Description | |
---|---|---|
MapToBsonValue ( object value ) : BsonValue |
Maps an object to a BsonValue.
|
|
MapToBsonValue ( object value, BsonType bsonType ) : BsonValue |
Maps an object to a specific BsonValue type.
|
|
RegisterCustomTypeMapper ( |
Registers a custom type mapper.
|
|
TryMapToBsonValue ( object value, BsonValue &bsonValue ) : bool |
Tries to map an object to a BsonValue.
|
Method | Description | |
---|---|---|
Convert ( object value, Conversion conversion ) : BsonValue |
public static MapToBsonValue ( object value ) : BsonValue | ||
value | object | An object. |
return | BsonValue |
public static MapToBsonValue ( object value, BsonType bsonType ) : BsonValue | ||
value | object | An object. |
bsonType | BsonType | The BsonType to map to. |
return | BsonValue |
public static RegisterCustomTypeMapper ( |
||
type | The type. | |
customTypeMapper | ICustomBsonTypeMapper | A custom type mapper. |
return | void |
public static TryMapToBsonValue ( object value, BsonValue &bsonValue ) : bool | ||
value | object | An object. |
bsonValue | BsonValue | The BsonValue. |
return | bool |