1 namespace System.Web.Mvc {
3 using System.Collections.Specialized;
4 using System.Globalization;
5 using System.Web.Helpers;
7 public sealed class QueryStringValueProvider : NameValueCollectionValueProvider {
9 // QueryString should use the invariant culture since it's part of the URL, and the URL should be
10 // interpreted in a uniform fashion regardless of the origin of a particular request.
11 public QueryStringValueProvider(ControllerContext controllerContext)
12 : this(controllerContext, new UnvalidatedRequestValuesWrapper(controllerContext.HttpContext.Request.Unvalidated())) {
16 internal QueryStringValueProvider(ControllerContext controllerContext, IUnvalidatedRequestValues unvalidatedValues)
17 : base(controllerContext.HttpContext.Request.QueryString, unvalidatedValues.QueryString, CultureInfo.InvariantCulture) {