Table of Contents

Class BooleanFilter

Namespace
Magicalizer.Filters.Abstractions
Assembly
Magicalizer.Filters.Abstractions.dll

Filter of bool properties. Only the conditions that are set are applied.

public class BooleanFilter : ValueFilterBase<bool>, IFilter
Inheritance
BooleanFilter
Implements
Inherited Members

Constructors

BooleanFilter()

Creates an empty filter.

public BooleanFilter()

BooleanFilter(bool?, bool?)

Creates a filter with the given conditions.

public BooleanFilter(bool? isNull = null, bool? equals = null)

Parameters

isNull bool?

Matches null values if true, non-null ones if false.

equals bool?

Matches values equal to this one.