Beispiel #1
0
        private void PopulateQueryString(HttpRequest request)
        {
            QueryList = new QueryStringCollection();

            foreach (var key in request.QueryString.AllKeys)
            {
                if (!string.IsNullOrEmpty(key))
                {
                    QueryList.Add(key, request.QueryString[key]);
                }
            }

            SetQuery();
        }
Beispiel #2
0
 private void PopulateQueryString(string url)
 {
     QueryList = new QueryStringCollection(url);
     SetQuery();
 }