Table of Contents

Constructor BsonSerializerAttribute

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

BsonSerializerAttribute()

Initializes a new instance of the BsonSerializerAttribute class.

public BsonSerializerAttribute()

BsonSerializerAttribute(Type)

Initializes a new instance of the BsonSerializerAttribute class.

public BsonSerializerAttribute(Type serializerType)

Parameters

serializerType Type

The type of the serializer to use for a class.