Skip to main content
.NET 6.0+

RuleSet.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.v23.2.dll

Declaration

public 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