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
boolWhether to ignore default values during serialization.