Method
UrlBuilder.AddQuery
AddQuery(string, string?) #
Adds a query parameter to the URL.
public UrlBuilder AddQuery(string key, string? value)Parameters #
key string
The key of the query parameter.
value string?
The value of the query parameter, or null to add an empty value.
Returns #
The current UrlBuilder instance.
AddQuery(string, params string?[]) #
Adds a query parameter with multiple values to the URL.
public UrlBuilder AddQuery(string key, params string?[] values)Parameters #
key string
The key of the query parameter.
values string?[]
The values of the query parameter, or an array containing null values to add empty values.
Returns #
The current UrlBuilder instance.