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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public SingleSerializer(
	BsonType representation,
	RepresentationConverter converter
)

Parameters

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