QueryHelper Class |
Namespace: CMS.Helpers
public class QueryHelper : IDataContainer, ISimpleDataContainer
The QueryHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | QueryHelper |
Name | Description | |
---|---|---|
![]() | ColumnNames |
Column names.
|
![]() ![]() | EncodedQueryString |
Returns html encoded query string.
|
![]() ![]() | HashEnabled |
If true, the hash check is enabled.
|
![]() ![]() | Instance |
Singleton Instance of the query helper.
|
![]() | Item |
Gets or sets the value of the column.
|
![]() ![]() | QueryString |
Query string
|
![]() ![]() | RouteValues |
Route data
|
Name | Description | |
---|---|---|
![]() ![]() | BuildQuery |
Build the query from the given items
|
![]() ![]() | BuildQueryWithHash |
Build the query from the given items and adds the hash to the query
|
![]() ![]() | Contains |
Returns true if query parameter is present in the query string.
|
![]() | ContainsColumn |
Returns true if the object contains specified column.
|
![]() ![]() | GetBoolean |
Returns the boolean representation of a query parameter or default value
if parameter is not boolean.
|
![]() ![]() | GetColor |
Returns the color representation of a query parameter or default value
if parameter is not a valid color.
|
![]() ![]() | GetControlClientId |
Returns control client ID from a query parameter or default value
if parameter is not a valid control client ID.
|
![]() ![]() | GetDouble |
Returns the double representation of a query parameter or default value
if parameter is not an integer number.
|
![]() ![]() | GetGuid |
Returns the GUID representation of a query parameter or default value
if parameter is not GUID.
|
![]() ![]() | GetHash(String) |
Generates hash for given QueryString.
|
![]() ![]() | GetHash(String, Boolean) |
Generates hash for given QueryString.
|
![]() ![]() | GetInteger |
Returns the integer representation of a query parameter or default value
if parameter is not an integer number.
|
![]() ![]() | GetParameterString |
Returns the string representing all variable request parameters (query string and route data)
|
![]() ![]() | GetString |
Returns query string parameter or default value if query string is not defined.
|
![]() ![]() | GetText |
Returns HTML encoded query string parameter or default value if query string is not defined.
|
![]() | GetValue |
Gets the value from QueryString.
|
![]() | SetValue |
Not implemented.
|
![]() | ToString |
Returns the string representation of the query string
(Overrides ObjectToString.) |
![]() | TryGetValue |
Returns value of column.
|
![]() ![]() | ValidateHash |
Validates given QueryString against hash.
|
![]() ![]() | ValidateHashString |
Validates given value against hash.
|
Name | Description | |
---|---|---|
![]() | CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) |
![]() | ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) |
![]() | ToXML |
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) |