Table of Contents

Method WithConverter

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

WithConverter(RepresentationConverter)

Returns a serializer that has been reconfigured with the specified item serializer.

public SingleSerializer WithConverter(RepresentationConverter converter)

Parameters

converter RepresentationConverter

The converter.

Returns

SingleSerializer

The reconfigured serializer.