Method WithRepresentation
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll
WithRepresentation(BsonType)
Returns a serializer that has been reconfigured with the specified representation.
public DecimalSerializer WithRepresentation(BsonType representation)
Parameters
representation
BsonType
The representation.
Returns
The reconfigured serializer.