Пример #1
0
        public Document(FetchResult result)
        {
            _result = result;
            _document = CQ.CreateDocument(result.Content);

            _baseUri = new Lazy<Uri>(GetBaseUri);
        }
Пример #2
0
        public Document(FetchResult result)
        {
            _result = result;
            _document = new HtmlDocument();
            _document.LoadHtml(result.Content);

            _baseUri = new Lazy<Uri>(GetBaseUri);
        }
Пример #3
0
 public IDocument Create(FetchResult result)
 {
     return new Document(result);
 }