Table of Contents

Class ByteFilter

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

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

public class ByteFilter : ComparableFilterBase<byte>, IFilter
Inheritance
ByteFilter
Implements
Inherited Members

Constructors

ByteFilter()

Creates an empty filter.

public ByteFilter()

ByteFilter(bool?, byte?, byte?, byte?, byte?, IEnumerable<byte>?, IEnumerable<byte>?)

Creates a filter with the given conditions.

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

Parameters

isNull bool?

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

equals byte?

Matches values equal to this one.

notEquals byte?

Matches values not equal to this one.

from byte?

Matches values greater than or equal to this one.

to byte?

Matches values less than or equal to this one.

in IEnumerable<byte>

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

notIn IEnumerable<byte>

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