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
isNullbool?Matches null values if
true, non-null ones iffalse.equalslong?Matches values equal to this one.
notEqualslong?Matches values not equal to this one.
fromlong?Matches values greater than or equal to this one.
tolong?Matches values less than or equal to this one.
inIEnumerable<long>Matches values equal to any of these (the query parameter is repeated, e.g. "id.in=1&id.in=2").
notInIEnumerable<long>Matches values not equal to any of these (the query parameter is repeated, e.g. "id.notin=1&id.notin=2").