Table of Contents

Constructor IgnoreIfDefaultConvention

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

IgnoreIfDefaultConvention(bool)

Initializes a new instance of the IgnoreIfDefaultConvention class.

public IgnoreIfDefaultConvention(bool ignoreIfDefault)

Parameters

ignoreIfDefault bool

Whether to ignore default values during serialization.