Table of Contents

Class BsonSerializationOptionsAttribute

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

Abstract base class for serialization options attributes.

public abstract class BsonSerializationOptionsAttribute : Attribute, IBsonMemberMapAttribute
Inheritance
BsonSerializationOptionsAttribute
Implements
Derived
Inherited Members
Extension Methods

Constructors

BsonSerializationOptionsAttribute()

Initializes a new instance of the BsonSerializationOptionsAttribute class.

Methods

Apply(BsonMemberMap)

Applies a modification to the member map.

Apply(IBsonSerializer)

Reconfigures the specified serializer by applying this attribute to it.