Table of Contents

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

isNull bool?

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

equals Guid?

Matches values equal to this one.

notEquals Guid?

Matches values not equal to this one.

in IEnumerable<Guid>

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

notIn IEnumerable<Guid>

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