The requested page is not available for the requested platform. You are viewing the content for Default platform.

RuleSet.GetRules(IEnumerable<Type>) Method

Returns a list of rules that belongs to the current RuleSet.

Namespace: DevExpress.Persistent.Validation

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

Declaration

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

Parameters

Name Type Description
targetTypesForDelayedCollectRules IEnumerable<Type>

The list of Type objects, rules for which will be collected.

Returns

Type Description
ReadOnlyCollection<IRule>

The list of IRule objects for the types defined in a targetTypesForDelayedCollectRules parameter.

See Also