Adds validation rules of the class given as a parameter to the RuleSet.
public void RegisterRules(
Public Sub RegisterRules(
targetType As ITypeInfo
Type, for which the corresponding class will be scanned for validation rules.
The class given as a parameter will be searched for RuleBaseAttribute, its descendants and CodeRuleAttribute. Validation rules acquired from these attributes will be added to the RuleSet.