private anon_e77da3131e1d4cf1970c18c99c04c921 Copy_3518e41cd8c542228a7c331cd51d1cda(DownloadPage o) { anon_e77da3131e1d4cf1970c18c99c04c921 t = new anon_e77da3131e1d4cf1970c18c99c04c921(); t.DownloadPage = o; return(t); }
private CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921> Where_18735c6e301a42d68fee5c66fc258c09(CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921> table) { Call(7); CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921> newTable = new CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921>(); IList <anon_e77da3131e1d4cf1970c18c99c04c921> rows = table.Where(row => { return(true); }).ToList(); newTable.SetRows(rows); IEnumerator <anon_e77da3131e1d4cf1970c18c99c04c921> i = newTable.GetEnumerator(); for ( ; i.MoveNext(); ) { anon_e77da3131e1d4cf1970c18c99c04c921 row = i.Current; row.DownloadPage = row.DownloadPage.CssWhere("ul.brandlist li"); } return(newTable); }
private Table <ResultRow> Select_6ea90561ec26483685c68cc37a476cfa() { Call(3); RuntimeTable <ResultRow> result = new RuntimeTable <ResultRow>(); result.AddColumn("url"); result.AddColumn("(No column name)"); CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921> fromTable = From_063aa67f80e6401686b3f3c73c24dfc4(); fromTable = Where_18735c6e301a42d68fee5c66fc258c09(fromTable); IEnumerator <anon_e77da3131e1d4cf1970c18c99c04c921> x = fromTable.GetEnumerator(); for ( ; x.MoveNext(); ) { anon_e77da3131e1d4cf1970c18c99c04c921 row = x.Current; IEnumerator <HtmlNode> y = row.DownloadPage.nodes.GetEnumerator(); for ( ; y.MoveNext(); ) { HtmlNode node = y.Current; ResultRow resultRow = new ResultRow(2); resultRow[0] = row.DownloadPage.url; resultRow[1] = string.Concat("http://www.target.com", node.Pick("a:first-child").TakeAttribute("href")); if (((resultRow[0] != null) && (resultRow[1] != null))) { result.Add(resultRow); } } row.DownloadPage.Clear(); } OnSelect(result); return(result); }
private anon_e77da3131e1d4cf1970c18c99c04c921 Copy_3518e41cd8c542228a7c331cd51d1cda(DownloadPage o) { anon_e77da3131e1d4cf1970c18c99c04c921 t = new anon_e77da3131e1d4cf1970c18c99c04c921(); t.DownloadPage = o; return t; }