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.v18.1.dll

Syntax

public ReadOnlyCollection<IRule> GetRules(
    IEnumerable targetsForDelayedCollectRules
)

Parameters

Type Name Description
IEnumerable targetsForDelayedCollectRules

The list of objects for which to collect the rules.

Returns

Type Description
System.Collections.ObjectModel.ReadOnlyCollection<IRule>

The list of rules.