A .NET PCL to help construct and parse http query strings.
Default constructor.
Constructor that takes 1 parameter.
Returns a valid url encoded parameter string.
Returns the dictionary that contains all the parameters.
Adds a parameter to the query. If a parameter with the given key already exists it's value is replaced.
Name | Description |
---|---|
key: | Key of new parameter. |
value: | Value of new parameter. |
Returns whether the query contains a parameter with the given key.
Name | Description |
---|---|
key: | Key to check for. |
Returns: Whether the query contains the parameter. |
Returns whether the query contains a parameter with the given value.
Name | Description |
---|---|
value: | Value to check for. |
Returns: Whether the query contains the parameter. |
Removes a parameter with the given key from the query.
Name | Description |
---|---|
key: | Key of the parameter to remove. |
Returns the value of the parameter who's key is given.
Name | Description |
---|---|
key: | Key of parameter to return value for. |
Returns: Value of parameter. |
Creates a query instance that contains the parameters of a given query string.
Name | Description |
---|---|
queryString: | Query string to parse. |
Returns: The query instance created from the given query string. |