Table of Contents

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 BsonMemberMap

The member map.

Apply(IBsonSerializer)

Reconfigures the specified serializer by applying this attribute to it.

protected virtual IBsonSerializer Apply(IBsonSerializer serializer)

Parameters

serializer IBsonSerializer

The serializer.

Returns

IBsonSerializer

A reconfigured serializer.

Exceptions

NotSupportedException