Table of Contents

Class IgnoreIfDefaultConvention

Namespace
MongoDB.Bson.Serialization.Conventions
Assembly
MongoDB.Bson.dll

A convention that sets whether to ignore default values during serialization.

public class IgnoreIfDefaultConvention : ConventionBase, IMemberMapConvention, IConvention
Inheritance
IgnoreIfDefaultConvention
Implements
Inherited Members
Extension Methods

Constructors

IgnoreIfDefaultConvention(bool)

Initializes a new instance of the IgnoreIfDefaultConvention class.

Methods

Apply(BsonMemberMap)

Applies a modification to the member map.