Table of Contents

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

isNull bool?

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

equals float?

Matches values equal to this one.

notEquals float?

Matches values not equal to this one.

from float?

Matches values greater than or equal to this one.

to float?

Matches values less than or equal to this one.

in IEnumerable<float>

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

notIn IEnumerable<float>

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