Constructor IgnoreIfNullConvention
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
IgnoreIfNullConvention(bool)
Initializes a new instance of the IgnoreIfNullConvention class.
public IgnoreIfNullConvention(bool ignoreIfNull)
Parameters
ignoreIfNull
boolWhether to ignore nulls during serialization.