Table of Contents

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

int

Methods

Add(Func<IFilterValidationContext, IUIValidationMessage?>)

Adds a rule that only runs in SimpleFilterOnly scope.

void Add(Func<IFilterValidationContext, IUIValidationMessage?> rule)

Parameters

rule Func<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

rule Func<IFilterValidationContext, IUIValidationMessage>

The rule to add.

scope FilterValidationRuleScope

The scope in which the rule runs.