Beispiel #1
0
 /// <summary>
 /// Initializes the class
 /// </summary>
 /// <param name="root">The root element</param>
 /// <param name="info">The HTML document information</param>
 /// <param name="defaultStyleLookup">The default style lookup</param>
 public void Initialize(HtmlElement root, HtmlDocumentInfo info, DefaultStyleLookup defaultStyleLookup)
 {
     base.Initialize(root);
     this.Info = info;
     this.DefaultStyleLookup = defaultStyleLookup;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HtmlDocument" /> class
 /// </summary>
 /// <param name="root">The root element</param>
 /// <param name="info">The HTML document information</param>
 /// <param name="defaultStyleLookup">The default style lookup</param>
 public HtmlDocument(HtmlElement root, HtmlDocumentInfo info, DefaultStyleLookup defaultStyleLookup)
     : base(root)
 {
     this.Info = info;
     this.DefaultStyleLookup = defaultStyleLookup;
 }