Class BsonCreatorMap
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
Represents a mapping to a delegate and its arguments.
public class BsonCreatorMap
- Inheritance
-
BsonCreatorMap
- Inherited Members
- Extension Methods
Constructors
- BsonCreatorMap(BsonClassMap, MemberInfo, Delegate)
Initializes a new instance of the BsonCreatorMap class.
Properties
- Arguments
Gets the arguments.
- ClassMap
Gets the class map that this creator map belongs to.
- Delegate
Gets the delegeate
- ElementNames
Gets the element names.
- MemberInfo
Gets the member info (null if none).
Methods
- Freeze()
Freezes the creator map.
- HasDefaultValue(string)
Gets whether there is a default value for a missing element.
- SetArguments(IEnumerable<MemberInfo>)
Sets the arguments for the creator map.
- SetArguments(IEnumerable<string>)
Sets the arguments for the creator map.