Click or drag to resize
Validator Class
Provides fluent interface for validation of user input.
Inheritance Hierarchy
SystemObject
  CMS.HelpersValidator

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public class Validator

The Validator type exposes the following members.

Constructors
  NameDescription
Public methodValidator
Top
Fields
  NameDescription
Protected fieldmIsValid
A value indicating whether the validation was successful.
Protected fieldmResult
The last validation error message.
Top
Properties
  NameDescription
Public propertyIsValid
Gets a value indicating whether the validation was successful.
Public propertyResult
Gets the last validation error message.
Top
Methods
  NameDescription
Public methodIsBoolean
Determines whether source control's value is boolean.
Public methodIsCodeName
Determines whether source control's value is code name.
Public methodIsDouble
Determines whether source control's value is double.
Public methodIsEmail
Determines whether source control's value is valid email.
Public methodIsFileName
Determines whether source control's value matches file name.
Public methodIsFolderName
Determines whether source control's value matches folder name.
Public methodIsIdentifier
Determines whether source control's value is identifier.
Public methodIsInteger
Determines whether source control's value is integer.
Public methodIsPositiveNumber
Determines whether source control's value is positive number.
Public methodIsRegularExp
Determines whether source control's value matches the regular expression.
Public methodIsUserName
Determines whether source control's value is user name.
Public methodMatchesConditionT
Validates whether the specified value meets the specified condition.
Public methodNotEmpty
Validates source control for emptiness.
Public methodNotNull
Validates source control for null value.
Top
See Also