Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 protected virtual void RunQuery(Query query, SelectableSource source, TextWriter output)
 {
     query.Run(source, output);
 }
Esempio n. 3
0
		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);
 }