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
-
Bson
Factory Method Attribute
- Implements
- Inherited Members
- Extension Methods
Constructors
- Bson
Factory Method Attribute() Initializes a new instance of the BsonFactoryMethodAttribute class.
- Bson
Factory Method Attribute(params string[]) Initializes a new instance of the BsonFactoryMethodAttribute class.
Properties
- Argument
Names Gets the names of the members that the creator arguments values come from.
Methods
- Apply(Bson
Creator Map) Applies a modification to the creator map.