The HashValidationAttribute type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
HashValidationAttribute |
Default constructor.
|
Methods
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetText |
Gets the text for the element.
(Inherited from AbstractAttribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.) | |
IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resolve |
Resolves the give text.
(Inherited from AbstractAttribute.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
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.) |
Properties
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.
| |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
UserSpecific |
Whether hash counting is user specific or not.
| |
ValidateWithoutParameters |
Whether should be hash validated with excluded parameters if without them validation fails.
|
See Also