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