Interface IFilterValidationRuleCollection
- Namespace
- GroupeIsa.Neos.Designer.UIAbstractions
- Assembly
- GroupeIsa.Neos.Designer.UIAbstractions.dll
Represents an ordered collection of filter validation rules, each declaring the filter modes it applies to.
public interface IFilterValidationRuleCollection
Properties
Count
Gets the number of rules in the collection.
int Count { get; }
Property Value
Methods
Add(Func<IFilterValidationContext, IUIValidationMessage?>)
Adds a rule that only runs in SimpleFilterOnly scope.
void Add(Func<IFilterValidationContext, IUIValidationMessage?> rule)
Parameters
ruleFunc<IFilterValidationContext, IUIValidationMessage>The rule to add.
Add(Func<IFilterValidationContext, IUIValidationMessage?>, FilterValidationRuleScope)
Adds a rule with an explicit FilterValidationRuleScope.
void Add(Func<IFilterValidationContext, IUIValidationMessage?> rule, FilterValidationRuleScope scope)
Parameters
ruleFunc<IFilterValidationContext, IUIValidationMessage>The rule to add.
scopeFilterValidationRuleScopeThe scope in which the rule runs.