private void AppendResult(IQuery query, Column column) { var newResult = new ResultExpr(column); var addResultVisitor = new AddResultVisitor(newResult); query.Accept(addResultVisitor); }
public static IQuery <HttpFetch <ParsedHtml> > Html(this IQuery <HttpFetch <HttpContent> > query) => from fetch in query.Accept(MediaTypeNames.Text.Html) from hps in Query.GetService <IHtmlParser>() select fetch.WithContent(hps.Parse(fetch.Content.ReadAsStringAsync().Result, fetch.RequestUrl));