Table of Contents

Class LongFilter

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

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

public class LongFilter : ComparableFilterBase<long>, IFilter
Inheritance
LongFilter
Implements
Inherited Members

Constructors

LongFilter()

Creates an empty filter.

public LongFilter()

LongFilter(bool?, long?, long?, long?, long?, IEnumerable<long>?, IEnumerable<long>?)

Creates a filter with the given conditions.

public LongFilter(bool? isNull = null, long? equals = null, long? notEquals = null, long? from = null, long? to = null, IEnumerable<long>? @in = null, IEnumerable<long>? notIn = null)

Parameters

isNull bool?

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

equals long?

Matches values equal to this one.

notEquals long?

Matches values not equal to this one.

from long?

Matches values greater than or equal to this one.

to long?

Matches values less than or equal to this one.

in IEnumerable<long>

Matches values equal to any of these (the query parameter is repeated, e.g. "id.in=1&id.in=2").

notIn IEnumerable<long>

Matches values not equal to any of these (the query parameter is repeated, e.g. "id.notin=1&id.notin=2").