Class IgnoreConventionsAttributeFilter
Represents an implementation of ICanFilterMongoDBConventionPacksForType for filtering based on IgnoreConventionsAttribute.
public class IgnoreConventionsAttributeFilter : ICanFilterMongoDBConventionPacksForType
- Inheritance
-
IgnoreConventionsAttributeFilter
- Implements
- Inherited Members
Constructors
IgnoreConventionsAttributeFilter()
public IgnoreConventionsAttributeFilter()
Methods
ShouldInclude(string, IConventionPack, Type)
Returns true if Type is affected, false if not.
public bool ShouldInclude(string conventionPackName, IConventionPack conventionPack, Type type)
Parameters
conventionPackNamestringName of the MongoDB.Bson.Serialization.Conventions.IConventionPack.
conventionPackIConventionPackThe MongoDB.Bson.Serialization.Conventions.IConventionPack.
typeTypeType to consider.
Returns
- bool
True if affected, false if not.