Class Filter
- Assembly
- GroupeIsa.Neos.ClusterCommunication.dll
Represents the filter of state store query.
public class Filter
- Inheritance
-
Filter
- Inherited Members
Constructors
Filter()
Initializes a new instance of the Filter class.
public Filter()
Filter(LogicalOperator, params Filter[])
Initializes a new instance of the Filter class.
public Filter(LogicalOperator @operator, params Filter[] filters)
Parameters
operator
LogicalOperatorThe logical operator (And, Or).
filters
Filter[]Filters combined with the specified operator.
Filter(string, params object[])
Initializes a new instance of the Filter class.
public Filter(string path, params object[] values)
Parameters
path
stringThe path of property to filter.
values
object[]The value(s) that should correspond to the current value of the property.
Properties
And
Gets filters combined with the and operator.
[JsonPropertyName("AND")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IReadOnlyCollection<Filter>? And { get; }
Property Value
Equal
Gets the equals predicate.
[JsonPropertyName("EQ")]
[JsonConverter(typeof(EqPredicateJsonConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public EqPredicate? Equal { get; }
Property Value
In
Gets the in predicate.
[JsonPropertyName("IN")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(InPredicateJsonConverter))]
public InPredicate? In { get; }
Property Value
Or
Gets the filters combined with the or operator.
[JsonPropertyName("OR")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IReadOnlyCollection<Filter>? Or { get; }