public static ObservableResult CreateFromCrawlingResult(CrawlingResult result) { ObservableResult ci = new ObservableResult(); ci.Title = result.RootURL; foreach (var nestedResults in result.Children) { ci.Items.Add(CreateFromCrawlingResult(nestedResults)); } return(ci); }
internal async Task <ObservableResult> CrawlAndAdaptResultAsync() { return(ObservableResult.CreateFromCrawlingResult( await crawler.PerformCrawlingAsync(reader.UrlsToCrawl))); }