Validator MembersKentico 8.1 API Reference
The Validator type exposes the following members.
Constructors

  NameDescription
Public methodValidator
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodIsBoolean
Determines whether source control's value is boolean.
Public methodIsCodeName(Object, String)
Determines whether source control's value is code name.
Public methodIsCodeName(Object, String, Boolean)
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 methodIsIdentificatorObsolete.
Determines whether source control's value is identifier.
Public methodIsIdentifier
Determines whether source control's value is identifier.
Public methodIsInteger
Determines whether source control's value is integer.
Public methodIsPositiveNumber(Object, String)
Determines whether source control's value is positive number.
Public methodIsPositiveNumber(Object, String, Boolean)
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 methodMatchesCondition T 
Validates whether the specified value meets the specified condition.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNotEmpty
Validates source control for emptiness.
Public methodNotNull
Validates source control for null value.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Fields

  NameDescription
Protected fieldmIsValid
A value indicating whether the validation was successful.
Protected fieldmResult
The last validation error message.
Back to Top
Properties

  NameDescription
Public propertyIsValid
Gets a value indicating whether the validation was successful.
Public propertyResult
Gets the last validation error message.
Back to Top
See Also