.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RuleSet.GetRules(Object) Method

Returns a list of all rules that belong to the object specified in a parameter.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v21.1.dll

Declaration

public ReadOnlyCollection<IRule> GetRules(
    object targetForDelayedCollectRules
)

Parameters

Name Type Description
targetForDelayedCollectRules Object

An object for which to collect the rules.

Returns

Type Description
ReadOnlyCollection<IRule>

The list of rules.

See Also