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
IBsonSerializerThe serializer.
Returns
- IBsonSerializer
A reconfigured serializer.