Interface IFilterValidationContext
- Namespace
- GroupeIsa.Neos.Designer.UIAbstractions
- Assembly
- GroupeIsa.Neos.Designer.UIAbstractions.dll
Represents the context a filter validation rule is invoked with: the condition to check, and the whole filter currently being edited (never the last-committed filter alone), so a rule can safely cross-check another condition without ever reading a stale value.
public interface IFilterValidationContext
Properties
Condition
Gets the condition to validate.
FilterCondition Condition { get; }
Property Value
Filter
Gets the filter currently being edited (the in-progress draft when one exists, the
committed filter otherwise). Read this instead of Datafilter inside a validation rule.
Filter Filter { get; }