Interface IQueryStringBuilder
Class that can build URL query strings.
Namespace: Tableau.Migration.Net
Assembly: Tableau.Migration.dll
Syntax
public interface IQueryStringBuilder
Properties
IsEmpty
Gets whether any filters have been added to this instance.
Declaration
bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
AddOrUpdate(IDictionary<string, string>)
Adds the items from the specified IDictionary<TKey, TValue> whose keys have not been previously added.
Declaration
void AddOrUpdate(IDictionary<string, string> items)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | items | The items to add to the query string. |
AddOrUpdate(string, string)
Adds the specified key and value if the key has not been previously added.
Declaration
void AddOrUpdate(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
string | key | The key to add to the query string. |
string | value | The value to add to the query string. |
Build()
Builds the resulting query string for the key/value pairs that have been added.
Declaration
string Build()
Returns
Type | Description |
---|---|
string |