Table of Contents

Method Apply

Namespace
MongoDB.Bson.Serialization.Attributes
Assembly
MongoDB.Bson.dll

Apply(IBsonSerializer)

Reconfigures the specified serializer by applying this attribute to it.

protected override IBsonSerializer Apply(IBsonSerializer serializer)

Parameters

serializer IBsonSerializer

The serializer.

Returns

IBsonSerializer

A reconfigured serializer.