Skip to main content
All docs
V24.2
.NET 8.0+

IRuleSet.GetRules(IEnumerable) Method

Returns a list of all rules that belong to the objects listed in a parameter.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v24.2.dll

Declaration

ReadOnlyCollection<IRule> GetRules(
    IEnumerable targetsForDelayedCollectRules
)

Parameters

Name Type Description
targetsForDelayedCollectRules IEnumerable

The list of objects for which to collect the rules.

Returns

Type Description
ReadOnlyCollection<IRule>

The list of rules.

See Also