| HashValidationAttribute Class |
Namespace: CMS.UIControls
public class HashValidationAttribute : AbstractAttribute, ICMSSecurityAttribute, ICMSAttribute
The HashValidationAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| HashValidationAttribute |
Default constructor.
|
| Name | Description | |
|---|---|---|
| GetText |
Gets the text for the element.
(Inherited from AbstractAttribute.) | |
| GetUrl |
Transforms the URL to the correct format.
(Inherited from AbstractAttribute.) | |
| Check |
Checks hash validation.
| |
| CheckEditedObject |
Returns True if attribute should be applied.
Evaluation is based on the edited object existence and ExistingObject and NewObject properties.
(Inherited from AbstractAttribute.) | |
| Resolve |
Resolves the give text.
(Inherited from AbstractAttribute.) |
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| ContainsMacro |
If true, the attribute contains macros
(Inherited from AbstractAttribute.) | |
| ExcludedParameters |
Specifies query parameters which are excluded from hash counting. Parameters are separated by semicolon.
| |
| ExistingObject |
If True, attribute is applied only when edited object is defined.
(Inherited from AbstractAttribute.) | |
| HashSalt |
Hash salt.
| |
| Name |
Name of the query parameter which contains hash value.
| |
| NewObject |
If True, attribute is applied only when edited object is not defined.
(Inherited from AbstractAttribute.) | |
| Redirect |
Whether should be user redirected if hash validation fails.
| |
| UserSpecific |
Whether hash counting is user specific or not.
| |
| ValidateWithoutParameters |
Whether should be hash validated with excluded parameters if without them validation fails.
|