Click or drag to resize

SingleSerializer Constructor (BsonType, RepresentationConverter)

Initializes a new instance of the SingleSerializer class.

Namespace:  MongoDB.Bson.Serialization.Serializers
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public SingleSerializer(
	BsonType representation,
	RepresentationConverter converter
)

Parameters

representation
Type: MongoDB.BsonBsonType
The representation.
converter
Type: MongoDB.Bson.Serialization.OptionsRepresentationConverter
The converter.
See Also