/// <summary> /// Add query parameters to request URL while keeping exiting parameters already specified in the URL. /// </summary> /// <remarks>This method respects repeated keys, such that adding "x=3&x=4" to "x=1&x=2" yields "x=1&x=2&x=3&x=4".</remarks> /// <param name="url"></param> /// <param name="parameters">Either IDictionary<string,string>, NameValueCollection or any other /// class where the public properties are added as query parameters.</param> /// <returns>Same request with Url having parameters added.</returns> public Request AddQueryParameters(object parameters) { if (parameters != null) { Url = Url.AddQueryParameters(parameters); } return(this); }