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

Declaration

public ReadOnlyCollection<IRule> GetRules(
    IEnumerable targetsForDelayedCollectRules
)
Public Function GetRules(
    targetsForDelayedCollectRules As IEnumerable
) As ReadOnlyCollection(Of IRule)

Parameters

Type Name Description
IEnumerable targetsForDelayedCollectRules

The list of objects for which to collect the rules.

Returns

Type Description
ReadOnlyCollection<IRule>

The list of rules.

See Also