Class IgnoreExtraElementsConvention
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Bson.Serialization.Conventions
Assembly
MongoDB.Bson.dll
A convention that sets whether to ignore extra elements encountered during deserialization.
public class IgnoreExtraElementsConvention : ConventionBase, IClassMapConvention, IConvention
Inheritance
IgnoreExtraElementsConvention
Implements
Inherited Members
Extension Methods
Constructors
IgnoreExtraElementsConvention(bool)
Initializes a new instance of the IgnoreExtraElementsConvention class.
Methods
Applies a modification to the class map.