コード例 #1
0
        /// <summary>
        /// Returns a container that contains the results of parsing the contents of a string.
        /// </summary>
        /// <param name="html">the HTML to content parse into a container</param>
        /// <returns></returns>
        public MarkupContainer ParseString(string html)
        {
            MarkupPointer   start     = CreateMarkupPointer();
            MarkupPointer   end       = CreateMarkupPointer();
            MarkupContainer container = ParseString(html, start, end);

            return(container);
        }
コード例 #2
0
 public void MoveToMarkupPosition(MarkupContainer container, int markupPosition)
 {
     ((IMarkupPointer2Raw)PointerRaw).MoveToMarkupPosition(container.Container, markupPosition);
 }
コード例 #3
0
 /// <summary>
 /// Moves the pointer to a markup container.
 /// </summary>
 /// <param name="container"></param>
 /// <param name="atStart">bool that specifies whether to position the pointer at the beginning of the container's content.</param>
 public void MoveToContainer(MarkupContainer container, bool atStart)
 {
     PointerRaw.MoveToContainer(container.Container, atStart);
 }
コード例 #4
0
 public void MoveToMarkupPosition(MarkupContainer container, int markupPosition)
 {
     ((IMarkupPointer2Raw)PointerRaw).MoveToMarkupPosition(container.Container, markupPosition);
 }
コード例 #5
0
 /// <summary>
 /// Moves the pointer to a markup container.
 /// </summary>
 /// <param name="container"></param>
 /// <param name="atStart">bool that specifies whether to position the pointer at the beginning of the container's content.</param>
 public void MoveToContainer(MarkupContainer container, bool atStart)
 {
     PointerRaw.MoveToContainer(container.Container, atStart);
 }