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