Click or drag to resize
HashValidationAttribute Class
Hash validation attribute.
Inheritance Hierarchy

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax
C#
public class HashValidationAttribute : AbstractAttribute, 
	ICMSSecurityAttribute, ICMSAttribute

The HashValidationAttribute type exposes the following members.

Constructors
  NameDescription
Public methodHashValidationAttribute
Default constructor.
Top
Methods
  NameDescription
Protected methodGetText
Gets the text for the element.
(Inherited from AbstractAttribute.)
Protected methodGetUrl
Transforms the URL to the correct format.
(Inherited from AbstractAttribute.)
Public methodCheck
Checks hash validation.
Protected methodCheckEditedObject
Returns True if attribute should be applied. Evaluation is based on the edited object existence and ExistingObject and NewObject properties.
(Inherited from AbstractAttribute.)
Protected methodResolve
Resolves the give text.
(Inherited from AbstractAttribute.)
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.)
Top
Properties
  NameDescription
Public propertyContainsMacro
If true, the attribute contains macros
(Inherited from AbstractAttribute.)
Public propertyExcludedParameters
Specifies query parameters which are excluded from hash counting. Parameters are separated by semicolon.
Public propertyExistingObject
If True, attribute is applied only when edited object is defined.
(Inherited from AbstractAttribute.)
Public propertyHashSalt
Hash salt.
Public propertyName
Name of the query parameter which contains hash value.
Public propertyNewObject
If True, attribute is applied only when edited object is not defined.
(Inherited from AbstractAttribute.)
Public propertyRedirect
Whether should be user redirected if hash validation fails.
Public propertyUserSpecific
Whether hash counting is user specific or not.
Public propertyValidateWithoutParameters
Whether should be hash validated with excluded parameters if without them validation fails.
Top
See Also