Changing QueryHelpers.AddQueryString to use Array instead of List.
This commit is contained in:
parent
b8af07e3c1
commit
5d7ec0e2c6
|
|
@ -21,7 +21,7 @@ namespace Microsoft.AspNet.WebUtilities
|
|||
public static string AddQueryString([NotNull] string uri, [NotNull] string name, [NotNull] string value)
|
||||
{
|
||||
return AddQueryString(
|
||||
uri, new List<KeyValuePair<string, string>> { new KeyValuePair<string, string>(name, value) });
|
||||
uri, new [] { new KeyValuePair<string, string>(name, value) });
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue