Click or drag to resize
ValidationRuleActivator Class
Contains methods for creating ValidationRules.
Inheritance Hierarchy
SystemObject
  Kentico.Forms.Web.MvcValidationRuleActivator

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public class ValidationRuleActivator : IValidationRuleActivator

The ValidationRuleActivator type exposes the following members.

Constructors
  NameDescription
Public methodValidationRuleActivator
Initializes a new instance of the ValidationRuleActivator class.
Top
Methods
  NameDescription
Public methodCreateValidationRule(String)
Creates a new instance of the ValidationRule specified by its definition with default property values.
Public methodCreateValidationRule(ValidationRuleDefinition)
Creates a new instance of the ValidationRule specified by its definition with default property values.
Top
See Also