Made the AppendQueryStringToUrl method public to allow use from packages. (#10476)

* Made the AppendQueryStringToUrl method public to allow use from packages.

* Removed AssemblyInfo.cs file.
This commit is contained in:
Andy Butland
2021-06-15 19:33:34 +02:00
committed by GitHub
parent 067395b0ff
commit 0f6732f03c
2 changed files with 1 additions and 30 deletions

View File

@@ -186,7 +186,7 @@ namespace Umbraco.Extensions
/// This methods ensures that the resulting URL is structured correctly, that there's only one '?' and that things are
/// delimited properly with '&'
/// </remarks>
internal static string AppendQueryStringToUrl(this string url, params string[] queryStrings)
public static string AppendQueryStringToUrl(this string url, params string[] queryStrings)
{
//remove any prefixed '&' or '?'
for (var i = 0; i < queryStrings.Length; i++)