BlogEngine.Core.Web.HttpModules.UrlRewrite.GetQueryString C# (CSharp) Method

GetQueryString() private static method

Gets the query string from the requested URL.
private static GetQueryString ( HttpContext context ) : string
context System.Web.HttpContext /// The context. ///
return string
        private static string GetQueryString(HttpContext context)
        {
            var query = context.Request.QueryString.ToString();
            return !string.IsNullOrEmpty(query) ? string.Format("&{0}", query) : string.Empty;
        }