コード例 #1
0
        public static HtmlNode Single_XPath(this mHttpResult item, string xpathExpress)
        {
            if (item == null || string.IsNullOrEmpty(item.StrResult))
            {
                throw new ArgumentNullException("xpathExpress");
            }

            return(item?.StrResult.Single_XPath(xpathExpress));
        }
コード例 #2
0
 public static HtmlNodeCollection XPath(this mHttpResult item, string xpathExpress)
 {
     return(item?.StrResult.XPath(xpathExpress));
 }
コード例 #3
0
 public static IDictionary <string, HtmlNodeCollection> XPath(this mHttpResult item, IEnumerable <KeyValuePair <string, string> > xpathExpress)
 {
     return(XPath(item.StrResult, xpathExpress));
 }