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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public SingleSerializer(
	BsonType representation,
	RepresentationConverter converter
)

Parameters

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