Class DoubleFilter
- Namespace
- Magicalizer.Filters.Abstractions
- Assembly
- Magicalizer.Filters.Abstractions.dll
Filter of double properties. Only the conditions that are set are applied.
public class DoubleFilter : ComparableFilterBase<double>, IFilter
- Inheritance
-
DoubleFilter
- Implements
- Inherited Members
Constructors
DoubleFilter()
Creates an empty filter.
public DoubleFilter()
DoubleFilter(bool?, double?, double?, double?, double?, IEnumerable<double>?, IEnumerable<double>?)
Creates a filter with the given conditions.
public DoubleFilter(bool? isNull = null, double? equals = null, double? notEquals = null, double? from = null, double? to = null, IEnumerable<double>? @in = null, IEnumerable<double>? notIn = null)
Parameters
isNullbool?Matches null values if
true, non-null ones iffalse.equalsdouble?Matches values equal to this one.
notEqualsdouble?Matches values not equal to this one.
fromdouble?Matches values greater than or equal to this one.
todouble?Matches values less than or equal to this one.
inIEnumerable<double>Matches values equal to any of these (the query parameter is repeated, e.g. "id.in=1&id.in=2").
notInIEnumerable<double>Matches values not equal to any of these (the query parameter is repeated, e.g. "id.notin=1&id.notin=2").