Table of Contents

Class BsonFactoryMethodAttribute

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

Specifies that this factory method should be used for creator-based deserialization.

[AttributeUsage(AttributeTargets.Method)]
public class BsonFactoryMethodAttribute : Attribute, IBsonCreatorMapAttribute
Inheritance
BsonFactoryMethodAttribute
Implements
Inherited Members
Extension Methods

Constructors

BsonFactoryMethodAttribute()

Initializes a new instance of the BsonFactoryMethodAttribute class.

BsonFactoryMethodAttribute(params string[])

Initializes a new instance of the BsonFactoryMethodAttribute class.

Properties

ArgumentNames

Gets the names of the members that the creator arguments values come from.

Methods

Apply(BsonCreatorMap)

Applies a modification to the creator map.