Aspectacular.QueryStringEx.SetQsValue C# (CSharp) Method

SetQsValue() public static method

Changes query string of current http request by adding or replacing query string parameter value in the way that avoids creating duplicates.
public static SetQsValue ( this request, string paramName, string paramValueFormat ) : void
request this
paramName string
paramValueFormat string
return void
        public static void SetQsValue(this HttpRequest request, string paramName, string paramValueFormat, params object[] args)
        {
            NameValueCollection qs = EnsureQsStored(request);
            qs[paramName] = paramValueFormat.SmartFormat(args);
        }