示例#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);
 }