Beispiel #1
0
 public HtmlNodeList QuerySelectAll(QuerySelectorPatterns patts)
 {
     if (!(_rootNode is HtmlElement rootElm))
     {
         return(null);
     }
     return(rootElm.QuerySelectAll(patts));
 }
Beispiel #2
0
        public HtmlNodeList QuerySelectAll(QuerySelectorPatterns patts)
        {
            HtmlElement rootElm = _rootNode as HtmlElement;

            if (rootElm == null)
            {
                return(null);
            }
            return(rootElm.QuerySelectAll(patts));
        }