コード例 #1
0
ファイル: DOMTable.cs プロジェクト: Wojdav/AngleSharp
 private static void AssertTableBody(IHtmlTableSectionElement body)
 {
     Assert.AreEqual("tbody", body.LocalName);
     Assert.AreEqual(HTMLNS, body.NamespaceUri);
     Assert.IsNull(body.Prefix);
 }
コード例 #2
0
 private static void AssertTableBody(IHtmlTableSectionElement body)
 {
     Assert.AreEqual("tbody", body.LocalName);
     Assert.AreEqual(HTMLNS, body.NamespaceUri);
     Assert.IsNull(body.Prefix);
 }
コード例 #3
0
        private static List <IHtmlTableRowElement> getRows(IHtmlTableElement table)
        {
            IHtmlTableSectionElement body = (IHtmlTableSectionElement)table.QuerySelector("tbody");

            return(body.Rows.ToList());
        }