Class ParsedFilter
- Namespace
- Excalibur.EventSourcing
- Assembly
- Excalibur.EventSourcing.Abstractions.dll
Represents a parsed filter condition extracted from a dictionary key.
public sealed record ParsedFilter : IEquatable<ParsedFilter>
- Inheritance
-
ParsedFilter
- Implements
- Inherited Members
Remarks
This record is returned by Parse(string) and contains the decomposed filter key components ready for query translation.
Constructors
ParsedFilter(string, FilterOperator)
Represents a parsed filter condition extracted from a dictionary key.
public ParsedFilter(string PropertyName, FilterOperator Operator)
Parameters
PropertyNamestringThe property name to filter on.
OperatorFilterOperatorThe comparison operator to apply.
Remarks
This record is returned by Parse(string) and contains the decomposed filter key components ready for query translation.
Properties
Operator
The comparison operator to apply.
public FilterOperator Operator { get; init; }
Property Value
PropertyName
The property name to filter on.
public string PropertyName { get; init; }