protected virtual void RunQuery(Query query, SelectableSource source, TextWriter output) { if (System.Web.HttpContext.Current != null && System.Web.HttpContext.Current.Request["outputMimeType"] != null && System.Web.HttpContext.Current.Request["outputMimeType"] == "text/html") { query.Run(source, new HTMLQuerySink(output)); return; } query.Run(source, output); }
protected virtual void RunQuery(Query query, SelectableSource source, TextWriter output) { query.Run(source, output); }
protected virtual void RunQuery(Query query, SelectableSource source, TextWriter output) { if (System.Web.HttpContext.Current != null && System.Web.HttpContext.Current.Request["outputMimeType"] != null && System.Web.HttpContext.Current.Request["outputMimeType"] == "text/html") { query.Run(source, new HTMLQuerySink(output)); return; } query.Run(source, output); }
protected virtual void RunQuery(Query query, SelectableSource source, TextWriter output) { query.Run(source, output); }