Method Apply
- Namespace
- MongoDB.Bson.Serialization.Attributes
- Assembly
- MongoDB.Bson.dll
Apply(BsonMemberMap)
Applies a modification to the member map.
public virtual void Apply(BsonMemberMap memberMap)
Parameters
memberMap
BsonMemberMapThe member map.
Apply(IBsonSerializer)
Reconfigures the specified serializer by applying this attribute to it.
protected virtual IBsonSerializer Apply(IBsonSerializer serializer)
Parameters
serializer
IBsonSerializerThe serializer.
Returns
- IBsonSerializer
A reconfigured serializer.