Class NamedExtraElementsMemberConvention
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
A convention that finds the extra elements member by name (and that is also of type BsonDocument or IDictionary<TKey, TValue>).
public class NamedExtraElementsMemberConvention : ConventionBase, IClassMapConvention, IConvention
- Inheritance
-
NamedExtraElementsMemberConvention
- Implements
- Inherited Members
- Extension Methods
Constructors
- NamedExtraElementsMemberConvention(IEnumerable<string>)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
- NamedExtraElementsMemberConvention(IEnumerable<string>, BindingFlags)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
- NamedExtraElementsMemberConvention(IEnumerable<string>, MemberTypes)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
- NamedExtraElementsMemberConvention(IEnumerable<string>, MemberTypes, BindingFlags)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
- NamedExtraElementsMemberConvention(string)
Initializes a new instance of the NamedExtraElementsMemberConvention class.
Methods
- Apply(BsonClassMap)
Applies a modification to the class map.