Table of Contents

Class IgnoreIfNullConvention

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

A convention that sets whether to ignore nulls during serialization.

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

Constructors

IgnoreIfNullConvention(bool)

Initializes a new instance of the IgnoreIfNullConvention class.

Methods

Apply(BsonMemberMap)

Applies a modification to the member map.