Table of Contents

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 string

Name of the MongoDB.Bson.Serialization.Conventions.IConventionPack.

conventionPack IConventionPack

The MongoDB.Bson.Serialization.Conventions.IConventionPack.

type Type

Type to consider.

Returns

bool

True if affected, false if not.