Beispiel #1
0
        internal HtmlElementAdapter(HtmlDocumentAdapter document, HtmlNode element)
        {
            if (document == null)
            {
                throw new ArgumentNullException("document");
            }
            if (element == null)
            {
                throw new ArgumentNullException("element");
            }

            DocumentAdapter = document;
            Element         = element;
        }
Beispiel #2
0
        internal HtmlElementAdapter( HtmlDocumentAdapter document, HtmlNode element )
        {
            if ( document == null )
            {
                throw new ArgumentNullException( "document" );
            }
            if ( element == null )
            {
                throw new ArgumentNullException( "element" );
            }

            DocumentAdapter = document;
            Element = element;
        }