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