Skip to main content
All docs
V24.1
.NET 6.0+

IRuleSet.GetRules Method

Name Parameters Description
GetRules() none Returns a list of all rules registered in the IRuleSet.
GetRules(IEnumerable<Type>) targetTypesForDelayedCollectRules Returns a list of rules that belongs to the current IRuleSet.
GetRules(IEnumerable) targetsForDelayedCollectRules Returns a list of all rules that belong to the objects listed in a parameter.
GetRules(Object, ContextIdentifiers) target, contextIDs Returns a list of all rules for the given object and validation contexts.
GetRules(Object) targetForDelayedCollectRules Returns a list of all rules that belong to the object specified in a parameter.
GetRules(Type, ContextIdentifiers) targetType, contextIDs Returns a list of rules for the given type and validation contexts.