Table of Contents

Class ValidationRuleMetadata

Namespace
Kentico.Forms.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Metadata describing a validation rule for the client.

public sealed class ValidationRuleMetadata
Inheritance
object
ValidationRuleMetadata
Extension Methods

Constructors

ValidationRuleMetadata()

public ValidationRuleMetadata()

Properties

Description

Validation rule description.

public string Description { get; }

Property Value

string

Identifier

Validation rule identifier as specified in ValidationRuleDefinition.

public string Identifier { get; }

Property Value

string

Name

Validation rule name.

public string Name { get; }

Property Value

string

ValidatedDataType

Type of value this validation rule is supposed to validate.

public string ValidatedDataType { get; }

Property Value

string

Remarks

Full name of type normalized to lower case is expected.

See Also