Table of Contents

Namespace Magicalizer.Filters.Abstractions

Classes

BooleanFilter

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

ByteFilter

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

ComparableFilterBase<T>

Base of the filters of value properties that are ordered (e.g. IntegerFilter): the null, equality, range and list conditions. Only the conditions that are set are applied.

DateTimeFilter

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

DateTimeOffsetFilter

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

DecimalFilter

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

DoubleFilter

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

EnumFilter<TEnum>

Filter of enum properties. The values are passed by their names or numbers (e.g. "diet.equals=vegan"). Only the conditions that are set are applied.

EnumerableFilter<TFilter>

Filter of collection properties: by emptiness and by filters that any or none of the elements match. Only the conditions that are set are applied.

EquatableFilterBase<T>

Base of the filters of value properties that are compared for equality only (e.g. GuidFilter): the null, equality and list conditions. Only the conditions that are set are applied.

FloatFilter

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

GuidFilter

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

IgnoreFilterAttribute

Marks a filter property that isn't applied to queries (e.g. it's used by a query prefilter).

IntegerFilter

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

LongFilter

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

ShortFilter

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

StringFilter

Filter of string properties. The strings are compared as the database compares them (its collation decides, e.g., whether the case is ignored). Only the conditions that are set are applied.

ValueFilterBase<T>

Base of the filters of value properties (e.g. BooleanFilter): the null and equality conditions. Only the conditions that are set are applied.

Interfaces

IEnumerableFilter

Non-generic interface of EnumerableFilter<TFilter>, to work with collection filters without knowing their element filter type.

IFilter

Filter of objects by their properties. Filters are nested to filter by properties of related objects.