public static string BuildQuery(string url, string name, object value) { WebQuery query = new WebQuery(url); query.Set(name, value); return(query.BuildQuery()); }
public static void StaticRedirect(string addressOrBasePath, bool retainParameters) { if (retainParameters) { WebQuery query = new WebQuery(Context); query.Redirect(addressOrBasePath); } else { Context.Response.Redirect(addressOrBasePath); } }
public static void StaticRedirect() { WebQuery query = new WebQuery(HttpContext.Current); query.Redirect(); }
public static string BuildQuery(Control instance) { WebQuery query = new WebQuery(instance); return(query.BuildQuery()); }
public WebQuery(WebQuery toCopy) { this.BasePath = toCopy.BasePath; this.Add(toCopy); }