Table of Contents

Method WithImplementationSerializer

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

WithImplementationSerializer(IBsonSerializer<TImplementation>)

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

public ImpliedImplementationInterfaceSerializer<TInterface, TImplementation> WithImplementationSerializer(IBsonSerializer<TImplementation> implementationSerializer)

Parameters

implementationSerializer IBsonSerializer<TImplementation>

The implementation serializer.

Returns

ImpliedImplementationInterfaceSerializer<TInterface, TImplementation>

The reconfigured serializer.