Class IgnoreConventionsAttributeFilter
- Namespace
- Cratis.Applications.MongoDB
- Assembly
- Cratis.Applications.MongoDB.dll
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
conventionPackName
stringName of the MongoDB.Bson.Serialization.Conventions.IConventionPack.
conventionPack
IConventionPackThe MongoDB.Bson.Serialization.Conventions.IConventionPack.
type
TypeType to consider.
Returns
- bool
True if affected, false if not.